Project

General

Profile

Actions

Bug #3580

closed

'Copy file from shared folder' reporting is completly broken in 2.6

Added by Vincent MEMBRÉ over 11 years ago. Updated over 9 years ago.

Status:
Released
Priority:
2
Assignee:
Jonathan CLARKE
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Due to a misstake in merge beetween branch 2.5 and 2.6, reporting is broken in the version 1.3 of 'copy file from shared folder' Technique.

The technique is working fine, but the reporting is not working at all

in 2.5 :

  reports:
    !is_valid::
                "@@copyFile@@result_error@@$(copyfile[$(index)][uuid])@@Copy file@@$(copyfile[$(index)][name])@@$(g.execRun)##$(g.uuid)@#There is no shared folder on the Rudder Server, so it's not possible to copy a file from it";
    linux|windows::
                "@@copyFile@@result_success@@$(copyfile[$(index)][uuid])@@Copy file@@$(copyfile[$(index)][name])@@$(g.execRun)##$(g.uuid)@#The content of the file(s) is valid" 
                        ifvarclass => "copy_file_$(index)_kept.!copy_file_$(index)_modified";

2.6 :

  reports:
    (linux|windows).!is_valid::
      "@@copyFile@@result_error@@${copyfile[${index}][uuid]}@@Copy file@@${copyfile[${index}][name]}@@${g.execRun}##${g.uuid}@#There is no shared folder on the Rudder Server, so it's not possible to copy a file from it";

      "@@copyFile@@result_success@@${copyfile[${index}][uuid]}@@Copy file@@${copyfile[${index}][name]}@@${g.execRun}##${g.uuid}@#The content of the file(s) is valid" 
        ifvarclass => "copy_file_${index}_kept.!copy_file_${index}_modified";

the classes should be splitted to be like 2.5

Actions

Also available in: Atom PDF