[ 
https://jira.nuxeo.com/browse/NXP-7701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thierry Martins updated NXP-7701:
---------------------------------

    Comment: was deleted

(was: This relates to SUPNXP-4474 ticket.)

> MultiDirectory tries to write in subdirectories all document fields (dirty or 
> not)
> ----------------------------------------------------------------------------------
>
>                 Key: NXP-7701
>                 URL: https://jira.nuxeo.com/browse/NXP-7701
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>          Components: Directory
>    Affects Versions: 5.4.3
>            Reporter: Narcis Paslaru
>            Priority: Blocker
>              Labels: crash
>         Attachments: ldap-ui-contrib.xml, ldapUser.xsd, ldap.xml, 
> multiUser.xsd, schema-contrib.xml, sqlUser.xsd
>
>   Original Estimate: 4 hours
>  Remaining Estimate: 4 hours
>
> I need to configure multiDirectory for users. This directory contains 2 
> sources.
> One SQL directory and one LDAP directory. 
> I only want to be able to write to SQL and not to LDAP so I set the widgets 
> as view only (see ldap-ui-contrib.xml).
> The problem is that the MultiDirectory creates a new document for each schema 
> of the subdirectories and passes the new document to each session to update 
> the entry.
> When the document is created, it has all fields dirty by default so the 
> LDAPSession is trying to update all fields, even if they were not dirty on 
> the original user object. So we get an error from LDAP because we are trying 
> to write to it.
> Please find attached the contributions that should reproduce this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to