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

seam-gen generated project, editing ManyToOne relationship doesn't work

    XMLWordPrintable

    Details

    • Steps to Reproduce:
      Hide

      1. import the attached .sql as mysql tables
      2. use seam-gen to generate a project, entities and ui from the existing .sql database
      3. Attempt to edit a vehicle, select a person, click "save"
      4. Notice the "There is no person associated with this vehicle. " where a selected person should be displayed.

      Show
      1. import the attached .sql as mysql tables 2. use seam-gen to generate a project, entities and ui from the existing .sql database 3. Attempt to edit a vehicle, select a person, click "save" 4. Notice the "There is no person associated with this vehicle. " where a selected person should be displayed.

      Description

      Seam-gen generated project with two entities (Vehicle and Person) with a ManyToOne relationship doesn't work. Editing a "vehicle" and assigning a "person" doesn't seem to work.

        Attachments

        1. dump.sql
          8 kB
        2. seam-gen.properties
          1 kB

          Issue Links

            Activity

              People

              Assignee:
              manaRH Marek Novotny
              Reporter:
              maschmid Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: