Thanks for the patch.
How i install it :
i just put the folder in my products folder of my CPS instance and i reboot CPS.
Result:
Ok now i dont have any error when i access to the member data in view mode now.
But there is an other problem.
I use LDAP membership in Read only mode.
I have to add the field in the backings info "Entry used if missing (TALES):" so i put
python:{'homeless': True, 'last_login_time':None,'test':None,'adresse':None,'telperso':None,
'telpersoportable':None,'emailperso':None,'client':None,'adresseclient':None,'contactclient':None,
'mailclient':None,'titre':None,
'photo':None}
photo is my field CPS Image Field in the schema of my backing directory members_cps_fields.
I had my image widget in the layout of members.
Now when i access the member data in view mode i had no problem the photo widget is empty (normal because i put 'photo':None).
but when i go in edit mode, and when i want to add a photo, when i save my changes i got this error:
Is there a problem with the default value of my Image widget? Or is there a bug with the patch?
How i install it :
i just put the folder in my products folder of my CPS instance and i reboot CPS.
Result:
Ok now i dont have any error when i access to the member data in view mode now.
But there is an other problem.
I use LDAP membership in Read only mode.
I have to add the field in the backings info "Entry used if missing (TALES):" so i put
python:{'homeless': True, 'last_login_time':None,'test':None,'adresse':None,'telperso':None,
'telpersoportable':None,'emailperso':None,'client':None,'adresseclient':None,'contactclient':None,
'mailclient':None,'titre':None,
'photo':None}
photo is my field CPS Image Field in the schema of my backing directory members_cps_fields.
I had my image widget in the layout of members.
Now when i access the member data in view mode i had no problem the photo widget is empty (normal because i put 'photo':None).
but when i go in edit mode, and when i want to add a photo, when i save my changes i got this error:
|
|
| Traceback: |
|
|---|
form
| widget__homeless | True |
|---|---|
| widget__adresseclient | 'None' |
| widget__cpsGroups | ['SI'] |
| widget__telperso | '' |
| widget__contactclient | 'None' |
| widget__photo_filename | '' |
| widget__telpersoportable | '' |
| widget__photo_choice | 'change' |
| widget__cpsRoles | ['Member'] |
| cpsdirectory_entry_edit_form | 'Enregistrer' |
| widget__photo | <ZPublisher.HTTPRequest.FileUpload instance at 0x0483E878> |
| widget__client | 'None' |
| widget__adresse | 'None' |
| widget__emailperso | 'None' |
| dirname | 'members' |
| widget__mailclient | 'None' |
| id | 'alopezrufian' |
| widget__titre | 'None' |
cookies
| __ac | 'YWxvcGV6cnVmaWFuOmF6MTIzMTIz' |
|---|---|
| __cp | 'x%DA%D3%60b%60%60%C8%04b%86hF%20%A1%C1%0C%24J%40%DCb%10%2B%B9%A0%B8%84%03Dg%14%E5%E7%E5%EB%A6%01%00g%F7%06%E3' |
| _ZopeId | '82555391A2U1SMjpvrs' |
lazy items
| SESSION | <bound method SessionDataManager.getSessionData of <SessionDataManager at /session_data_manager>> |
|---|
other
| URL0 | 'http://albator/cps/cpsdirectory_entry_edit_form ' |
|---|---|
| cpsdirectory_entry_edit_form | 'Enregistrer' |
| _ec_cache | {94641840: <Products.PageTemplates.TALES.Context instance at 0x041DC968>} |
| PATH_INFO | '/cps/cpsdirectory_entry_edit_form' |
| URL2 | 'http://albator ' |
| AcceptCharset | <Products.Localizer.Accept.AcceptCharset instance at 0x04EDB8A0> |
| dirname | 'members' |
| id | 'alopezrufian' |
| _oai_cache | {94641840: <Products.CMFCore.ActionInformation.oai instance at 0x04B6D8C8>} |
Is there a problem with the default value of my Image widget? Or is there a bug with the patch?
_______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
