Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2236181

Summary: Attribute Names changed to lowercase after adding the Attributes.
Product: Red Hat Directory Server Reporter: Danish Shaikh <dshaikh>
Component: cockpit-389-dsAssignee: Simon Pichugin <spichugi>
Status: CLOSED ERRATA QA Contact: LDAP QA Team <idm-ds-qe-bugs>
Severity: high Docs Contact:
Priority: medium    
Version: 11.6CC: bsmejkal, emartyny, idm-ds-dev-bugs, ldelouw, spichugi, tbordaz, tmihinto
Target Milestone: DS12.4Keywords: Triaged
Target Release: dirsrv-12.4   
Hardware: x86_64   
OS: Linux   
Whiteboard: sync-to-jira
Fixed In Version: 389-ds-base-2.4.5-2.module+el9dsrv+21124+30a62ae9 Doc Type: Release Note
Doc Text:
With web UI, when editing the values of attributes the attribute name case are changed to lowercase. The fix preserve the case of the attribute's name
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-07 00:15:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Danish Shaikh 2023-08-30 14:38:45 UTC
Description of problem:

We are working with the web console to edit the attributes, which have both capital and lowercase letters in their names. The capital letters within the names of an attribute changes whenever the attributes are added to an object class. 


Version-Release number of selected component (if applicable):

RHDS: 11.6

389-ds-base-1.4.3.31-11.module+el8dsrv+17815+4f95348d.x86_64 Tue Feb  7 10:26:47 2023
389-ds-base-libs-1.4.3.31-11.module+el8dsrv+17815+4f95348d.x86_64 Tue Feb  7 10:25:26 2023



Steps to Reproduce:
1. Create  an attribute called TestAttribute

2. On the shell:
[root@dirsrv2 ~]# grep -r TestAttribute /etc/dirsrv/slapd-app601604/* 
/etc/dirsrv/slapd-app601604/schema/99user.ldif:attributeTypes: ( TestAttribute-oid NAME 'TestAttribute' DESC 'Just a Test' SY

3.Edit the description of attribute from web ui

On the shell:
[root@dirsrv2 ~]# grep -i -r TestAttribute /etc/dirsrv/slapd-app601604/* 
/etc/dirsrv/slapd-app601604/schema/99user.ldif:attributeTypes: ( testattribute-oid NAME 'testattribute' DESC 'Just a nother T


4. The Attributes name was changed to lower case.


Expected results:

> It should be in the same syntax as added.

> CamelCase not reflected when editing an attribute

Additional info:

Reproducer has been attached in the case comments #17 and #22

Comment 7 bsmejkal 2024-03-26 13:25:47 UTC
Build tested:
389-ds-base-2.4.5-2.module+el9dsrv+21124+30a62ae9.x86_64

Created a TestAttribute with WebUI:

# grep -r TestAttribute /etc/dirsrv/slapd-test/*
/etc/dirsrv/slapd-test/schema/99user.ldif:attributeTypes: ( TestAttribute-oid NAME 'TestAttribute' DESC 'Just a test' SY

Edited the attribute through WebUI:
# grep -i -r TestAttribute /etc/dirsrv/slapd-test/*
/etc/dirsrv/slapd-test/schema/99user.ldif:attributeTypes: ( TestAttribute-oid NAME 'TestAttribute' DESC 'Just another te

Marking as VERIFIED.

Comment 10 errata-xmlrpc 2024-05-07 00:15:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (redhat-ds:12 bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2024:2718

Comment 11 Red Hat Bugzilla 2024-09-05 04:25:06 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days