Actions
Bug #20184
closedRessource not found when creating a draft and comming back to it to save it as a technique
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Technique editor
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
Description
I started a Technique in Rudder 7.0, and attached a ressource to it - but didn't save it
I then went to do something else, logged out, and logged in again
Went back to this technique, finished it and saved it - not using a ressource
When deploying the technique, I go the following error
⇨ Policy update error for process '49' at 2021-10-21 10:27:56 ⇨ Cannot write nodes configuration ⇨ Accumulated: Unexpected: Error when trying to open resource 'techniques/ncf_techniques/test_block/1.0/resources/brightness_364_512.icc'. Check that the file exists is correctly commited in Git, or that the metadata for the technique are corrects.
the technique doesn't show any ressource, not any way to remove it
yet metadata says
<FILE name="RUDDER_CONFIGURATION_REPOSITORY/techniques/ncf_techniques/test_block/1.0/resources/brightness_364_512.icc"> <INCLUDED>false</INCLUDED> <OUTPATH>test_block/1.0/resources/brightness_364_512.icc</OUTPATH> </FILE> </FILES>
It might be related to the fact that I have a draft technique with the same name, and the ressource is in there
it seems there is a collision between the draft and the technique, but changing the technique by adding a method in it converted it to "draft" (according to the tag next to it), but didn't change the actual draft
Files
Actions