Bug #5317
closed
Changes in directives are not taken into account if we only change the case of characters
Added by Nicolas CHARLES over 10 years ago.
Updated over 10 years ago.
Category:
Web - Config management
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
- 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 ?
- 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
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....
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!
- 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
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset scala-ldap:commit:742a8e87c3d90b38ed2055b3fe6548a2d2f10035.
Applied in changeset scala-ldap:commit:dda024587f3734edd38325be5627f589598be095.
- Status changed from Pending release to Released
Also available in: Atom
PDF