Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-873

Scaffold doesn't shows the correct referenced entities in edit views, while in details views shows something like "org.forgetest.model.Entity@5f9ba38e"

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.2.3.Final
    • Fix Version/s: 1.4.0.Final
    • Component/s: Scaffold
    • Labels:
      None
    • Environment:

      JBoss 7.1.1 final , Hibernate 4.2.0.final,

    • Steps to Reproduce:
      Hide

      create a database with two table with one that have a FK.
      use forge to create a project and generate the UI.

      Show
      create a database with two table with one that have a FK. use forge to create a project and generate the UI.
    • Workaround:
      Workaround Exists

      Description

      For a table with a foreign key the UI permits to select the possible values, but this values are listed in a dropdown menu in a form like "org.forgetest.model.Entity@5f9ba38e" (would be preferable that the string present be relative to the PK referenced)
      Anyway, after setting this field and submitting the form, the data are inserted in the table correctly but when i want to modify the record, the UI doesn't show the setted value for the foreign key and i must set it again before saving.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                vineet.reynolds Vineet Reynolds
                Reporter:
                reskejal claudio perrotta
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: