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

Martin Alderson commented on DIRSTUDIO-212:
-------------------------------------------

I've just been having a look at implementing this.  I'm wondering what should 
be done when the referenced attribute doesn't exist in the entry?  I think that 
to keep it simple for now we should just ignore the reference.  In the example 
this could leave an entry with a mail attribute value of "@example.com".  
Alternatively we could just not generate the ldif fragment for that entry.  Any 
thoughts?

> 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
>
> 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