Enhancement
Critical
Major
Detail
Detail
Detail
#26259
Scriptrecorder template creation does not respond to new actions / Saves outdated work state
Ticket #26185 and especially change r303564 changed the type of the model from ActionContainer to tl:TLTreeNode for the tl:TemplateCreateBuilder.
If the user selects a node in the ActionTree and opens the dialog to create a template, the form with the actions has the selected TLTreeNode as model. If the user now creates the template or closes the dialog and records further actions with the ScriptRecorder, then the dialog to create a template for the same selected TLTreeNode at the beginning does not have the most current data. It is missing exactly the changes that took place between the opening of the two dialogs. The problem is that the FormComponent does not notice the change. Only the BusinessObject of the `TLTreeNode` has changed, but not the node itself. Consequently, the component assumes that its model has not changed and thus prevents the tl:FormContext from being rebuilt. This results in a possibly outdated working state.
Test
- Record a few actions
- Save the actions as a template with Create Template
- Record more actions (don't close the script recorder window, just continue)
- Call Create Template again
- Problem: In the input mask of Create Template the old values of the first saving process are contained (path and actions). Thus not the current state of work is saved, but something before (here from 2).