Spring Roo
  1. Spring Roo
  2. ROO-2940

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker 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

        Activity

        Hide
        Alan Stewart added a comment -

        Error was a copy and paste typo. Resolved in Git ID f7a8fd894139f6db30e7845b57bcb6472875eab2

        Show
        Alan Stewart added a comment - Error was a copy and paste typo. Resolved in Git ID f7a8fd894139f6db30e7845b57bcb6472875eab2

          People

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

            Dates

            • Created:
              Updated:
              Resolved: