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

Use of generalization causes chaos in JSP fields

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.2.RELEASE
    • Fix Version/s: 1.1.3.RELEASE
    • Component/s: WEB MVC
    • Labels:
      None
    • Environment:
      Roo 1.1.2. RELEASE, Win7

      Description

      Create/update/view JSPs generated using Roo 1.1.1.RELEASE show attributes in same order as defined in class *.java file (in Roo shell input order). In Roo 1.1.2.RELEASE when generalization is used it makes chaos in fields order.
      Normal 1.1.1. order is parrent class fields (in correct order) and then child class fields (in correct order). In 1.1.2. fields are mixed and it makes no sense.
      Simple example script and screens of JSP generated by both Roo versions are attached.

        Attachments

        1. 1.1.1.png
          1.1.1.png
          54 kB
        2. 1.1.2.png
          1.1.2.png
          53 kB
        3. create_1.1.1.png
          create_1.1.1.png
          8 kB
        4. create_1.1.2.png
          create_1.1.2.png
          8 kB
        5. script.roo
          0.7 kB

          Activity

            People

            • Assignee:
              sschmidt Stefan Schmidt
              Reporter:
              mamut Martin Muller
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: