Hi,
I am currently trying to replace the “title” field for the user/users module by using a Dynamic Selection.
The goal is to simplify and standardize the used values.
As far as I can see the replacement works when creating a user object in advanced mode or when modifying existing users.
But using the simplified wizard-style method to create a user an error is thrown (and the list-box is empty)
in management-console-web-server.log I see this:
20.06.17 13:17:07.138 MAIN ( INFO ) : CPCommand (192.168.133.1:33894) got new request
20.06.17 13:17:07.138 MAIN ( INFO ) : CPCommand (192.168.133.1:33894) pushed request(0x7fa607a68210) to queue(0x7fa607d13290) - waiting for response
20.06.17 13:17:07.236 MAIN ( INFO ) : UMCP_Dispatcher: check_queue: new request: 0x7fa607a68210
20.06.17 13:17:07.236 MAIN ( INFO ) : SessionClient(0x7fa60788b790): sending request(149795742713861-431)
20.06.17 13:17:07.236 PROTOCOL ( INFO ) : Sending UMCP COMMAND REQUEST 149795742713861-431
20.06.17 13:17:07.239 PARSER ( INFO ) : UMCP RESPONSE 149795742713861-431 parsed successfully
20.06.17 13:17:07.239 PROTOCOL ( INFO ) : Received UMCP RESPONSE 149795742713861-431
20.06.17 13:17:07.239 MAIN ( INFO ) : SessionClient(0x7fa60788b790): got response(149795742713861-431): status=422 queue=0x7fa607d13290
20.06.17 13:17:07.239 MAIN ( INFO ) : CPCommand (192.168.133.1:33894) got response(0x7fa607a68150) from queue(0x7fa607d13290): status=422
20.06.17 13:17:07.239 MAIN ( PROCESS ) : CPCommand (192.168.133.1:33894) response status code: 422
20.06.17 13:17:07.239 MAIN ( PROCESS ) : CPCommand (192.168.133.1:33894) response message: 1 error(s) occurred
20.06.17 13:17:07.239 MAIN ( PROCESS ) : CPCommand (192.168.133.1:33894) response result: {'syntax': 'Argument required'}
As far as I have seen this happens to me when the name of the extended attribute is equal to the original attribute.
DN: cn=title,cn=custom attributes,cn=univention,dc=mydomain,dc=intranet
ARG: None
objectClass: organizationalPerson
groupPosition: None
module: users/user
overwritePosition: title
hook: None
overwriteTab: None
shortDescription: Title (custom)
groupName: None
version: 2
valueRequired: None
CLIName: title
fullWidth: None
longDescription: title (e.g. Dr., PD. Dr., Prof. Dr.)
doNotSearch: None
tabName: None
syntax: DS_Title
tabAdvanced: None
name: title
default: None
mayChange: 1
multivalue: 0
ldapMapping: title
deleteObjectClass: 0
notEditable: 0
tabPosition: None
disableUDMWeb: None
I also tried to define the EA with another name and just defined “overwritePosition: title”. With this I get the same result for existing users but the creation of new users is not possible as the first page of the wizard will not load.
Any ideas what I am doing wrong?
Best Regards,
Dirk