[ 
https://issues.apache.org/jira/browse/DIRSTUDIO-212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12775177#action_12775177
 ] 

Stefan Seelmann commented on DIRSTUDIO-212:
-------------------------------------------

Thanks Martin, looks good.

As you wrote it works great if the used attributes are already cached or if the 
search is executed and the necessary attributes are requested. It is also cool 
that the replacement works in LDIF fragment as well when selecting the 'Modify 
entries' option.

However in the case where entries are not cached or attributes were not 
requested the result is an empty value, which is a bit confusing. Here is an 
example:
-------------------------------------------------
dn: ...
changetype: modify
add: description
description: 
-
-------------------------------------------------
Do you think it makes sense to load the missing attributes in such a case?


> Provide support for attribute references for LDIF construction during batch 
> operations
> --------------------------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-212
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-212
>             Project: Directory Studio
>          Issue Type: New Feature
>          Components: studio-ldapbrowser, studio-ldifeditor
>            Reporter: Ersin Er
>         Attachments: dirstudio-212.diff
>
>
> The Studio allows one to specify an LDIF changetype fragment to be executed 
> on all entries returned from a search operation. It would be nice to have a 
> more dynamic way to specify attribute values as in the following examples:
> changetype: modify
> replace: homeDirectory
> homeDirectory: /home/${uid}
> changetype: modify
> replace: mail
> mail: ${[email protected]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to