Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3941

Avoid creation of @Autowired constructors for JSON and THYMELEAF controllers when there is already one in .java

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.0.0.RC2
    • Fix Version/s: 2.0.0.RC3
    • Component/s: WEB MVC
    • Labels:
      None

      Description

      When user adds a custom @Autowired constructor in any controller class, with different args that constructor managed by Roo, this constructor remains in the ITD with @Autowired so there are compilation problems.

      Try to solve this by removing @Autowired on ITD constructor if already exists one in the .java.

        Attachments

          Activity

            People

            • Assignee:
              jmvivo Jose Manuel Vivó ( Chema ) - DISID.
              Reporter:
              sclares Sergio Clares Martínez
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: