Project

General

Profile

Actions

Bug #2465

closed

PT/technique "checkGenericFileContent" has a mandatory field to enforce file content

Added by Jonathan CLARKE about 12 years ago. Updated about 12 years ago.

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

Description

This PT can now do several things: enforce a file content, delete lines, replace lines... But if you choose to just replace lines, you still have to specify some content to put into the file, which makes no sense.

1. This field should be made optional.

2. Also, the PT's layout should be clarified, to make it more obvious that you must choose a file name, then some actions, then configure these actions. I propose the attached patch for the policy.xml file but it needs checking with regard to reporting and components.

3. The variable "Enforce the content of the file:" should be a boolean, the same as the following 2, not a SELECT1 with 2 values.


Files


Related issues 1 (0 open1 closed)

Has duplicate Rudder - Bug #2208: PT Enforce a file content: Deleting some lines in a file require to specify a content into the file.Rejected2012-01-27Actions
Actions

Also available in: Atom PDF