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

Scaffold fails to update views when regenerating UI after @Entity changes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.1.1.Final
    • 1.1.0.Final
    • Scaffold
    • Hide
      • Create a scaffold project.
      • Create an entity with a field.
      • Generate ui via `scaffold from-entity`
      • Deploy app and view page
      • Add a field to the entity
      • Generate ui via `scaffold from entity`
      • Re-deploy app and view page

      The new field will not have been generated in the UI.

      Show
      Create a scaffold project. Create an entity with a field. Generate ui via `scaffold from-entity` Deploy app and view page Add a field to the entity Generate ui via `scaffold from entity` Re-deploy app and view page The new field will not have been generated in the UI.
    • Hide

      Exit project and re-enter, then re-run scaffold commands.

      Show
      Exit project and re-enter, then re-run scaffold commands.

    Description

      When re-generating the UI using:

      scaffold from-entity ~.model.* --overwrite

      the re-generated UI is unchanged, and contains all the fields from the Entities when they were first generated.

      In order to get the scaffold to generate updated views, you must first leave the project and re-enter it:

      cd ~; cd -; scaffold from-entity ~.model.* --overwrite
      

      Attachments

        Activity

          People

            rhn-support-ggastald George Gastaldi
            lincolnthree Lincoln Baxter III (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: