Hello, 

 

This issue is related to the problem that Jesus Martin was dealing with.

 

They were using CPSLDAPSetup and the problem was that the home folder of the 
members were not created even if "Enable private area" was true.

 

The fact is that, in logged_in.py, the value of "first_time" should be 
"2000/01/01" so that the member area is created, but in the configuration file 
of the members directory in CPSLDAPSetup (members.xml) the default expression 
for "last_login_time" is None.

 

I think that the solution would be to use the expression:

 

python:{'homeless': False, 'last_login_time': '2000/01/01' }

 

instead of:

 

python:{'homeless': False, 'last_login_time': None}

 

in the definition profile of the members directory in CPSLDAPSetup.

 

If you agree I will create the ticket and commit the solution.

 

These are the references to the code I am talking about:

 

http://svn.nuxeo.org/trac/pub/browser/CPS3/products/CPSDefault/trunk/skins/cps_default/logged_in.py#L69
 

 

http://svn.nuxeo.org/trac/pub/browser/CPS3/products/CPSLDAPSetup/trunk/profiles/default/directories/members.xml#L28
 

 

Thank you very much.

JoseLuis de la Rosa Triviño 
Técnico de Desarrollo Software 
FUNDACIÓN IAVANTE 
[EMAIL PROTECTED] 
Tel. 951 015 300 

 

Este correo electrónico y, en su caso, cualquier fichero anexo, contiene 
información confidencial exclusivamente dirigida a su(s) destinatario(s). Toda 
copia o divulgación deberá ser autorizada por IAVANTE.

This e-mail and any attachments are confidential and exclusively directed to 
its adressee(s). Any copy or distribution will have to be authorized by IAVANTE.

 

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to