Uploaded image for project: 'Red Hat Directory Server'
  1. Red Hat Directory Server
  2. DIRSRV-52

RHDS Console is not keeping custom some schema data upon editing.

XMLWordPrintable

    • None
    • rhel-sst-idm-ds
    • 0
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None

      Description of problem:
      While editing a custom schema attribute, RHDS Console is not keeping some defined data:

      1) if the "Description" is updated, the "OID" is reverted to "<ATTRIBUTE_NAME>-oid"

      2) if the "OID" is updated, then the "Description" field shows "No description".

      Version-Release number of selected component (if applicable):
      $ cat /etc/redhat-release
      Red Hat Enterprise Linux release 8.8 (Ootpa)
      $ rpm -qa | grep 389-ds
      389-ds-base-1.4.3.31-11.module+el8dsrv+17815+4f95348d.x86_64
      389-ds-base-libs-1.4.3.31-11.module+el8dsrv+17815+4f95348d.x86_64
      cockpit-389-ds-1.4.3.31-11.module+el8dsrv+17815+4f95348d.noarch
      $

      How reproducible:
      Always.

      Steps to Reproduce:
      1. Create a custom attribute ( Schema tab / Attributes tab / "Add Attribute" button )
      2. Edit the newly created attribute and change either the description or the OID
      3. Save
      4. 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:
      1) 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-alps1.socket schema attributetypes replace teko --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-alps1.socket schema attributetypes replace teko --syntax 1.3.6.1.4.1.1466.115.121.1.15 --single-value --user-mod --desc Teko_Desc

              spichugi@redhat.com Simon Pichugin
              rhn-support-tmihinto Têko Mihinto
              IdM DS QE IdM DS QE
              Evgenia Martyniuk Evgenia Martyniuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: