Actions
User story #4072
closedUser story #4057: Manage properties inside the web interface.
RudderDit in ldap query test is based on wrong DN
Effort required:
Name check:
Fix check:
Regression:
Description
We are using DN "cn=rudder-configuration" for base DN for Rudder DIT in TestQueryProcess.scala, which leads to this beautiful stacktrace:
basicQueriesOnOneNodeParameter(com.normation.rudder.services.queries.TestQueryProcessor): A null object was provided where a non-null object is required (non-null index 1). Thread stack trace: getStackTrace(Thread.java:1479) / ensureNotNull(Validator.java:119) / <init>(DN.java:243) / dn$lzycompute(InventoryDit.scala:278) / dn(InventoryDit.scala:278) / model(InventoryDit.scala:280) / <init>(RudderDit.scala:149) / <init>(TestQueryProcessor.scala:96) / newInstance0(NativeConstructorAccessorImpl.java) / newInstance(NativeConstructorAccessorImpl.java:39) / newInstance(DelegatingConstructorAccessorImpl.java:27) / newInstance(Constructor.java:513) / createTest(BlockJUnit4ClassRunner.java:195) / runReflectiveCall(BlockJUnit4ClassRunner.java:244) / run(ReflectiveCallable.java:12) / methodBlock(BlockJUnit4ClassRunner.java:241) / runChild(BlockJUnit4ClassRunner.java:70) / runChild(BlockJUnit4ClassRunner.java:50) / run(ParentRunner.java:238) / schedule(ParentRunner.java:63) / runChildren(ParentRunner.java:236) / access$000(ParentRunner.java:53) / evaluate(ParentRunner.java:229) / run(ParentRunner.java:309) / execute(JUnit4TestSet.java:53) / executeTestSet(JUnit4Provider.java:123) / invoke(JUnit4Provider.java:104) / invoke0(NativeMethodAccessorImpl.java) / invoke(NativeMethodAccessorImpl.java:39) / invoke(DelegatingMethodAccessorImpl.java:25) / invoke(Method.java:597) / invokeMethodWithArray(ReflectionUtils.java:164) / invoke(ProviderFactory.java:110) / invokeProvider(SurefireStarter.java:175) / runSuitesInProcessWhenForked(SurefireStarter.java:107) / main(ForkedBooter.java:68)
This due to the new Appconfig branch in the LDAP who tries to bind to the parent of the base DN, and "cn=rudder-configuration" has no parent.
Switching to the same DN that rudder default one ("ou=Rudder, cn=rudder-configuration") make it all work.
Updated by Vincent MEMBRÉ about 11 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/rudder/pull/347
Pull request here : https://github.com/Normation/rudder/pull/347
Updated by Vincent MEMBRÉ about 11 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset fb87227465fb42307ac41ffe95796665712c0969.
Updated by Nicolas CHARLES about 11 years ago
Applied in changeset fe1b5962088e146d3b9246d958ce83257cfde7db.
Updated by Vincent MEMBRÉ about 11 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.8.0~beta1, which was released today.
Check out:
- The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2013-October/000056.html
- The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog28
- Download information: http://www.rudder-project.org/foswiki/Download/
Updated by Benoît PECCATTE over 9 years ago
- Tracker changed from Enhancement to User story
Actions