Issue Details (XML | Word | Printable)

Key: DIRSERVER-790
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Alex Karasulu
Reporter: Alex Karasulu
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

Typo in all OID bases of all Apache schema entities.

Created: 03/Dec/06 04:09 PM   Updated: 04/Dec/06 07:52 PM
Return to search
Component/s: core
Affects Version/s: 1.0, 1.0-RC4, 1.0-RC3, 1.0-RC2, 1.0-RC1, pre-1.0
Fix Version/s: 1.5.0, 1.0.1

Time Tracking:
Not Specified

Environment: All

Resolution Date: 03/Dec/06 07:35 PM


 Description  « Hide
Our IANA assigned enterprise OID base for Apache is 1.3.6.1.4.1.18060. By mistake we have been using 1.2.6.1.4.1.18060 as the base inside ApacheDS specific schemas. This must be fixed immediately in 1.0.1 and in the trunks. I recommend consolidating this change with the new OID assignment scheme for ApacheDS. This is a big change for 1.0 but it's so critical and has to be done anyway to fix the blocker that it's now overshadowed by this bug. So we can actually fix it for 1.0 and 1.5 together.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #481862 Sun Dec 03 19:25:05 UTC 2006 akarasulu correcting issues with schema pertaining to DIRSERVER-790 here: https://issues.apache.org/jira/browse/DIRSERVER-790. It also involves the following OID reorganization: http://cwiki.apache.org/confluence/display/DIRxPMGT/OID+Assignment+Scheme
Files Changed
MODIFY /directory/branches/apacheds/1.0/schema-archetype/src/main/resources/archetype-resources/src/schema/myschema.schema
MODIFY /directory/branches/apacheds/1.0/schema-archetype/src/main/resources/archetype-resources/src/test/java/SchemaTest.java
MODIFY /directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/schema/bootstrap/ApacheMatchingRuleProducer.java
MODIFY /directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmMasterTable.java
MODIFY /directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/partition/Oid.java
MODIFY /directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/schema/bootstrap/ApacheComparatorProducer.java
MODIFY /directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/schema/bootstrap/ApacheNormalizerProducer.java
MODIFY /directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java
MODIFY /directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/IndexComparator.java
MODIFY /directory/branches/apacheds/1.0/core/src/main/schema/apachedns.schema
MODIFY /directory/branches/apacheds/1.0/core-unit/src/test/java/org/apache/directory/server/core/jndi/SearchContextITest.java
MODIFY /directory/branches/apacheds/1.0/core/src/main/schema/apache.schema
MODIFY /directory/branches/apacheds/1.0/schema-archetype/src/main/resources/archetype-resources/src/main/schema/car.schema

Alex Karasulu made changes - 03/Dec/06 07:25 PM
Field Original Value New Value
Status Open [ 1 ] In Progress [ 3 ]
Repository Revision Date User Message
ASF #481865 Sun Dec 03 19:34:44 UTC 2006 akarasulu correcting issues with schema pertaining to DIRSERVER-790 here: https://issues.apache.org/jira/browse/DIRSERVER-790. It also involves the following OID reorganization: http://cwiki.apache.org/confluence/display/DIRxPMGT/OID+Assignment+Scheme
Files Changed
MODIFY /directory/trunks/apacheds/core/src/main/schema/apache.schema
MODIFY /directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/IndexComparator.java
MODIFY /directory/trunks/apacheds/core/src/main/schema/apachedns.schema
MODIFY /directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/bootstrap/ApacheMatchingRuleProducer.java
MODIFY /directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmMasterTable.java
MODIFY /directory/trunks/apacheds/core-unit/src/test/java/org/apache/directory/server/core/jndi/SearchContextITest.java
MODIFY /directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/partition/Oid.java
MODIFY /directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/bootstrap/ApacheComparatorProducer.java
MODIFY /directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/bootstrap/ApacheNormalizerProducer.java

Alex Karasulu added a comment - 03/Dec/06 07:35 PM
Committed on revision 481862 for the 1.0 branch then merged to 1.5 branch on revision 481865 using the following merge:

 svn merge -r 481861:481862 https://svn.apache.org/repos/asf/directory/branches/apacheds/1.0 .

Here are the commit logs:

    http://svn.apache.org/viewvc?view=rev&revision=481862

    http://svn.apache.org/viewvc?view=rev&revision=481865

Alex Karasulu made changes - 03/Dec/06 07:35 PM
Status In Progress [ 3 ] Closed [ 6 ]
Resolution Fixed [ 1 ]
John Conlon added a comment - 04/Dec/06 06:31 PM
This fix has not made it's way through out all the subprojects as the typo still exists in:
 - server.xml files of the server-main and servers-installers subprojects
 - class files in package org/apache/directory/shared/ldap/message/extended of the shared ldap subproject.



Emmanuel Lecharny added a comment - 04/Dec/06 06:48 PM
Fixed the server.xml in 1.5 branch,

commit logs is : http://svn.apache.org/viewvc?view=rev&rev=482285

Emmanuel Lecharny added a comment - 04/Dec/06 07:13 PM
In 1.5 branch :

I modified the extended operation to use the new numbering scheme. There was also an error with two operation sharing the same OID !

Here are the new OIDs used :

1.3.6.1.4.1.18060.0.1.1 : LaunchDiagnosticUiRequest
1.3.6.1.4.1.18060.0.1.2 : LaunchDiagnosticUiResponse
1.3.6.1.4.1.18060.0.1.3 : GracefulShutdownRequest
1.3.6.1.4.1.18060.0.1.4 : GracefulShutdownResponse
1.3.6.1.4.1.18060.0.1.5 : GracefulDisconnect
1.3.6.1.4.1.18060.0.1.6 : StoredProcedureRequest
1.3.6.1.4.1.18060.0.1.7 : StoredProcedureResponse

Commit logs : http://svn.apache.org/viewvc?view=rev&rev=482294

Emmanuel Lecharny added a comment - 04/Dec/06 07:52 PM
In 1.0 branch :

Fixed, commits log is :
http://svn.apache.org/viewvc?view=rev&rev=482320