[ 
https://jira.nuxeo.com/browse/NXP-7701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=106565#comment-106565
 ] 

Thierry Martins edited comment on NXP-7701 at 11/25/11 2:38 PM:
----------------------------------------------------------------

Now, subdirectory entries are updated according their own status, i.e. if 
they're set as read only, in the case the multidirectory is not defined as 
readonly, which prevails on subdirectories definition.
http://hg.nuxeo.org/nuxeo/nuxeo-services/rev/22c904ddb069

      was (Author: tmartins):
    Now, subdirectory entries are updated according their own status, i.e. if 
they're set as read only, in the case the multidirectory is not defined as 
readonly, which prevail on subdirectories definition.
http://hg.nuxeo.org/nuxeo/nuxeo-services/rev/22c904ddb069
  
> 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.2
>            Reporter: Narcis Paslaru
>            Assignee: Thierry Martins
>            Priority: Blocker
>              Labels: crash
>             Fix For: 5.5
>
>         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