Describe the bug
When duplicating a tree there two behaviours that doesn’t seem to work properly:
- Just after duplicate the tree, the save button appears disabled at the General information tab, but the same button appears enabled at the Tree structure tab.
- Related to previous point trying different cases of saving info produce different results:
a. Changing data from General Information tab this enables the save button, but when saving, only saves the general information but not the tree structure.
b. Changing data from General Information tab and saving from Tree structure tab saves all the tree properly (general information and structure)
To summarize this second point, the behaviour of save button is different depending on the tab. On the General information tab the save button only save the general information but at the Tree structure tab, the save button save all the tree (structure + general information)
To Reproduce
Steps to reproduce the behavior:
Steps to reproduce the behaviour:
- Duplicate a tree
- See how the save button is disabled at General information tab and enabled at Tree Structure tab.
- Do some changes only at general information and save.
- Reopen de tree and see how only general information has been saved but not the tree structure.
- Try to make some changes at both tabs (General Information and Tree Structure) and save from Tree Structure tab.
- Reopen de tree and see how general information and tree structure had been saved.
Expected behavior
When duplicate a tree all the save buttons are enabled (because all the tree must be saved).
The save button should have the save behavior at the General information tab and Tree Structure tab, that is, if there are changes unsaved on the general information and tree structure, the save button will save all the unsaved changes.
Screenshots
These three screenshots show how when duplicating a tree, the save button at General Information tab is disable and enabled at Tree Structure Tab.
These three screenshots show how after duplicate a tree, some change are made on field “Name” and saved properly but not the tree structure, that appears empty.
Desktop (please complete the following information):
• OS: Ubuntu
• Browser Chrome
Additional context
Version 1.2.5
Describe the bug
When duplicating a tree there two behaviours that doesn’t seem to work properly:
a. Changing data from General Information tab this enables the save button, but when saving, only saves the general information but not the tree structure.
b. Changing data from General Information tab and saving from Tree structure tab saves all the tree properly (general information and structure)
To summarize this second point, the behaviour of save button is different depending on the tab. On the General information tab the save button only save the general information but at the Tree structure tab, the save button save all the tree (structure + general information)
To Reproduce
Steps to reproduce the behavior:
Steps to reproduce the behaviour:
Expected behavior
When duplicate a tree all the save buttons are enabled (because all the tree must be saved).
The save button should have the save behavior at the General information tab and Tree Structure tab, that is, if there are changes unsaved on the general information and tree structure, the save button will save all the unsaved changes.
Screenshots
These three screenshots show how when duplicating a tree, the save button at General Information tab is disable and enabled at Tree Structure Tab.
These three screenshots show how after duplicate a tree, some change are made on field “Name” and saved properly but not the tree structure, that appears empty.
Desktop (please complete the following information):
• OS: Ubuntu
• Browser Chrome
Additional context
Version 1.2.5