Closed
Description
Description of problem:
While editing a custom schema attribute, lib389 and Web UI is not keeping some defined data:
-
if the "Description" is updated, the "OID" is reverted to "<ATTRIBUTE_NAME>-oid"
-
if the "OID" is updated, then the "Description" field shows "No description".
How reproducible:
Always.
Steps to Reproduce:
- Create a custom attribute ( Schema tab / Attributes tab / "Add Attribute" button )
- Edit the newly created attribute and change either the description or the OID
- Save
- Only the updated field is kept. The non-updated field is reverted to its default value.
Actual results:
Custom datum is lost.
Expected results:
Keep all custom values.
Additional info:
- A workaround is to update both fields at the same time:
Set the two fields ( Description and OID ) to dummy values and save.
Edit the attribute again
Set the two fields to the correct values and save
2) JS Console:
CMD: cmdOperationAttribute: Do the replace operation on Attribute ==> dsconf -j ldapi://%2fvar%2frun%2fslapd-localhost.socket schema attributetypes replace customAttr --syntax 1.3.6.1.4.1.1466.115.121.1.15 --single-value --user-mod --oid 1.2.3.4
CMD: cmdOperationAttribute: Do the replace operation on Attribute ==> dsconf -j ldapi://%2fvar%2frun%2fslapd-localhost.socket schema attributetypes replace customAttr --syntax 1.3.6.1.4.1.1466.115.121.1.15 --single-value --user-mod --desc customAttr_Desc