Project

General

Profile

Actions

Bug #20184

closed

Ressource not found when creating a draft and comming back to it to save it as a technique

Added by Nicolas CHARLES over 2 years ago. Updated about 2 years ago.

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

clipboard-202110211233-8tuea.png (63 KB) clipboard-202110211233-8tuea.png Nicolas CHARLES, 2021-10-21 12:33
Actions

Also available in: Atom PDF