Description
In Drafts, entity creation and modification actions can be removed/reverted correctly. These actions can be selected in the Draft overview and deleted using the trash icon, which effectively reverts the changes applied to the platform.
However, any action categorized as "update_linked" cannot be reverted this way.
Environment
OCTI 6.9.13
Reproducible Steps
Steps to create the smallest reproducible scenario:
- Create a Draft and open it
- Create a Report
- Modify a Report
- In the Draft overview, select both Report (the update and the create) and click on the trash icon to remove them
-> This will revert the modification, i.e. delete the newly created report and revert the update on the existing one
- Now change the Author on a Report
- In the Draft overview, select the Report (the "update_linked") and click on the trash icon to revert the modification
-> Nothing will happen, i.e. the Author will not be reverted to the previous one
Expected Output
Removing the action from the draft should revert the "linked_update" and restore the previous value (e.g., the original author).
Actual Output
Nothing happens when deleting the "update_linked" action from the draft. The "linked_update" remains in the draft and the modified value (e.g., author) stays changed on the entity.
The only way to revert the change is to manually edit the entity and restore the previous value.
Description
In Drafts, entity creation and modification actions can be removed/reverted correctly. These actions can be selected in the Draft overview and deleted using the trash icon, which effectively reverts the changes applied to the platform.
However, any action categorized as "update_linked" cannot be reverted this way.
Environment
OCTI 6.9.13
Reproducible Steps
Steps to create the smallest reproducible scenario:
-> This will revert the modification, i.e. delete the newly created report and revert the update on the existing one
-> Nothing will happen, i.e. the Author will not be reverted to the previous one
Expected Output
Removing the action from the draft should revert the "linked_update" and restore the previous value (e.g., the original author).
Actual Output
Nothing happens when deleting the "update_linked" action from the draft. The "linked_update" remains in the draft and the modified value (e.g., author) stays changed on the entity.
The only way to revert the change is to manually edit the entity and restore the previous value.