Project

General

Profile

Actions

Bug #24941

open

Resource remains when we delete a technique and re-imported right after

Added by Elaad FURREEDAN 6 months ago. Updated 15 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Web - Technique editor
Target version:
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

  1. Create a technique with a resource
  2. Export this technique
  3. Delete the technique
  4. Re-import the technique from the previous export
  5. Witness that no resource is present before saving
  6. Save the technique and refresh the page and you will see an unsaved resource and the save button disabled
Actions

Also available in: Atom PDF