Resolves: bug 234948
Bug Description: Console hangs when adding a custom entry and schema
items are in certain order
Reviewed by: ???
Files: see diff
Fix Description: The problem is primarily due to
"Schema file parsing
overly picky?" - the console schema editor expects an objectclass to
always have at least 1 superior. The bug causes SUP not to be present
in the schema entry in the directory server. The fix is to use a schema
helper function to make sure the list of superior objectclasses always
contains at least "top". I also added a check for a null value to avoid
the NullPointerException console error.
Platforms tested: RHEL5
Flag Day: no
Doc impact: no