Actions
Bug #3660
closedChange Request can't be validated if there is trailing spaces in the modified object
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
Web - Maintenance
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
When modifying a Directive/Rule/group, if there is trailling spaces at the end of any field, the change request cannot be validated.
This is because the initial state saved for the change request is saved as an xml in postgres, and postgres trims all string when saving them.
So there is a difference between the current state (with spaces) and and the initial state (without any spaces)
Here a small example with the a long description
Current state (saved in configurationr repository and LDAP :
<longDescription>blablabla bliblibli blublublu </longdescription>
initial state of change request (saved in postgres):
<longDescription>blablabla bliblibli blublublu</longdescription>
This mean a change here is not possible because long desciprions are not the same
Actions