Community
Participate
Working Groups
Open a Tigerstripe model Association and add a new sterotype to an end (CascadeStyle, for example). Hit Save (CTRL-S). Edit the new stereotype to define a value for this stereotype. Once again, hit Save (CTRL-S). If you now look in the source view, you will notice that the selected value has not been persisted. If you close the Association editor and re-open it, editing is fine (values will be persisted). This seems to only be an issue when added a new stereotype to an entity.
Yes I had notices something like this a few times but hadn't been able to reliably reproduce it. The issue seemed to be with Stereotypes with parameters and depended on how you enter the parameter values. If you add a parameter I think you need to hit return then OK else it doesn't get saved.
Just so you know -- this was a case where there was a parameter for a stereotype, but it was not a string field. It was a checkbox. This was reproducable, and very irritating. Developer makes a change, saves all of the files, does the generation, looks in the generated artifacts, and changes are not there. Worse. The wizard editor shows the changes, but clicking on Source shows that its not in the file. Have to shutdown the editor and reopen the wizard screen. This to me should have a high priority for usability. (In reply to comment #1) > Yes I had notices something like this a few times but hadn't been able to > reliably reproduce it. > > The issue seemed to be with Stereotypes with parameters and depended on how you > enter the parameter values. > If you add a parameter I think you need to hit return then OK else it doesn't > get saved.
*** Bug 327610 has been marked as a duplicate of this bug. ***
Created attachment 181608 [details] Patch with bug fix Patch with bug fix attached.
Applied Anton's patch.
Verified. Thanks!