Bug #5317
closedChanges in directives are not taken into account if we only change the case of characters
Description
If i have a directive with a field that contains
"foo"
and i replace it by "FOO" and click save, then the directive won't be modified, and it will keep "foo"
Discovered in 2.10, but can also be in 2.6
Updated by Vincent MEMBRÉ over 10 years ago
- Assignee changed from Vincent MEMBRÉ to Nicolas CHARLES
I tried to reproduce with an aptPackageInstallation Technique.
I changed my package name from "vim" to "VIM" And the Directive is correctly changed to "VIM", the generated policy too.
Does it happens on a specifc field ?
Updated by Vincent MEMBRÉ over 10 years ago
- Assignee changed from Nicolas CHARLES to Vincent MEMBRÉ
Reproduced it in 2.10 on "enforce File Content", on file content field. Need to look deeper into it.
No problem in 2.6
Updated by Vincent MEMBRÉ over 10 years ago
In fact; I got as much deeper as i can ... THe data are still correct until a diff is made between two LDAP entries bien unboundid.Entry.diff
The entries are correct (case different), but no diff are found...
I have only reproduced it with "Enforce file content" on several fields (file to update, content), it works correct in apt package and user management....
Updated by Vincent MEMBRÉ over 10 years ago
Found ... The matching rule used to compare two attributes is taken from the source. We only use exactStringMatch for the target attribute, and keep the one in palce on the source...
But the behavior changed in unboundID 2.3.4, and now use the matching Rule from the source!
If we updated it , everything OK!
Updated by Vincent MEMBRÉ over 10 years ago
- Status changed from New to Pending technical review
- Assignee changed from Vincent MEMBRÉ to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/scala-ldap/pull/11
Updated by Vincent MEMBRÉ over 10 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset scala-ldap:commit:742a8e87c3d90b38ed2055b3fe6548a2d2f10035.
Updated by Nicolas CHARLES over 10 years ago
Applied in changeset scala-ldap:commit:dda024587f3734edd38325be5627f589598be095.
Updated by Matthieu CERDA over 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.10.4, which was released today.
Check out:
The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2014-August/000106.html
The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog210
Download information: https://www.rudder-project.org/site/get-rudder/downloads/