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

Bug 2257790

Summary: Attribute Names changed to lowercase after adding the Attributes.
Product: Red Hat Directory Server Reporter: Simon Pichugin <spichugi>
Component: cockpit-389-dsAssignee: LDAP Maintainers <idm-ds-dev-bugs>
Status: CLOSED ERRATA QA Contact: LDAP QA Team <idm-ds-qe-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 11.9CC: bsmejkal, emartyny, idm-ds-dev-bugs, tbordaz
Target Milestone: DS11.9Keywords: Triaged
Target Release: dirsrv-11.9   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.4.3.39-1.module+el8dsrv+21143+6a9f8bbf Doc Type: Bug Fix
Doc Text:
.The web console no longer changes attribute names to lowercase character when `attributeTypes` are added Previously, when you added an attribute to an object class by using the web console, the uppercase characters in the attribute name were changed to lowercase characters. With this update, the attribute name case is no longer changed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-21 00:09:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Simon Pichugin 2024-01-11 01:32:22 UTC
This bug was initially created as a copy of Bug #2236181

I am copying this bug because: 


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 5 bsmejkal 2024-03-28 10:55:59 UTC
Build tested:
389-ds-base-1.4.3.39-1.module+el8dsrv+21143+6a9f8bbf.x86_64
cockpit-389-ds-1.4.3.39-1.module+el8dsrv+21143+6a9f8bbf.noarch


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 7 errata-xmlrpc 2024-05-21 00:09:01 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:11 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:2934