Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-2299

Seam Generate Entities creates edit field for @Version annotated fields

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 2.0.0.GA
    • Fix Version/s: 2.0.1.CR2
    • Component/s: Tools
    • Labels:
      None

      Description

      When you have an entity with a @Version annotation present (which is the default if you create it with "Seam Entity") and then run "Seam Generate Entities" on the project and select "use existing entities" the resulting CRUD pages will allow the version field to be edited. So you won't be able to create entities because the set accessor for the version was declared private in the entity. This renders the CRUD pages useless.
      I think this field should not be editable in the first place.

      Cheers, Thorsten

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dan.j.allen Dan Allen
                Reporter:
                SunFire Thorsten Kunz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: