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

jsf managed bean generation fails (using 2 many-to-many fields)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Complete
    • Affects Version/s: 1.2.0.RC1
    • Fix Version/s: 1.2.0.RELEASE
    • Component/s: JSF
    • Labels:
    • Environment:
      Win 7 x64

      Description

      When running the attached script which generates 1 object which holds 2 sets referencing (many_to_many) a second object, it fails to generate some method/variable names correctly in the xxxBean_Roo_ManagedBean.aj file.

      E.g. xxx.getStreets() instead of xxx.getFirstStreetSet()
      also xxx.selectedFirstStreetSet and xxx.selectedSecondStreetSet vars get referenced by 2 "selectedStreets" references

      note: I couldn't issue "entity jsf" commands via STS due to another bug, it worked from the command line though

        Attachments

          Activity

            People

            • Assignee:
              stewarta Alan Stewart
              Reporter:
              prefabsoft Jochen Szostek
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: