Actions
Bug #24941
openResource remains when we delete a technique and re-imported right after
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
I was bothered the first time
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Priority:
48
Name check:
To do
Fix check:
To do
Regression:
No
Description
Description¶
When re-importing and save a deleted technique which contained resources, on page refresh, the resource is added to the technique but on unsaved mode with save button disabled
This doesn't seems to be what we want to do, the YAML file doesn't contains any information about resources, but still when we saving and refresh the page a resources appear :ghost:
Not that if we import the technique and changing the name, the resource will not reappear
Only tested in 8.1
How to reproduce¶
- Create a technique with a resource
- Export this technique
- Delete the technique
- Re-import the technique from the previous export
- Witness that no resource is present before saving
- Save the technique and refresh the page and you will see an unsaved resource and the save button disabled
Actions