[
https://issues.jboss.org/browse/FORGE-683?page=com.atlassian.jira.plugin....
]
Lincoln Baxter III updated FORGE-683:
-------------------------------------
Steps to Reproduce:
* 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.
Workaround Description: Exit project and re-enter, then re-run scaffold commands.
Scaffold fails to update views when regenerating UI after @Entity
changes
--------------------------------------------------------------------------
Key: FORGE-683
URL:
https://issues.jboss.org/browse/FORGE-683
Project: Forge
Issue Type: Bug
Components: Scaffold
Affects Versions: 1.1.0.Final
Reporter: Lincoln Baxter III
Labels: annoying
Fix For: 1.1.1.Final
When re-generating the UI using: {code}scaffold from-entity ~.model.* --overwrite{code}
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:
{code}
cd ~; cd -; scaffold from-entity ~.model.* --overwrite
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira