Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
2.5.10, 2.7.1
-
None
Description
Current Situation
When a workflow (e.g., W1) with an attached workflow tag (e.g., "TAG1") is removed from the inventory and then restored from the inventory trash, it throws a DBInvalidDataException.
DBInvalidDataException: At 1:43 and token 'set', no viable alternative at input 'update DBItemInventoryTagging set cid=:cid *set name=:name where name=:trashName and type=:type'" surveyDate : "2024-12-18T08:33:14.219Z"
Desired Behavior
The workflow should be restored successfully from the inventory trash without any errors.
How to Reproduce
- Create a workflow (e.g., W1).
- Attach a Workflow Tags to the workflow (e.g., “TAG1”).
- Delete the workflow object (W1) from the inventory.
- Go to the inventory trash and attempt to restore the workflow (W1).