An error occurred fetching the project authors.
  1. 20 May, 2010 2 commits
  2. 19 May, 2010 1 commit
  3. 11 Mar, 2010 1 commit
  4. 10 Mar, 2010 1 commit
    • Nicolas Delaby's avatar
      Reveal Two bugs in ProxyField and acquisition handling. · b28dc2f1
      Nicolas Delaby authored
      These two bugs can only triggered if a proxy field use a field inside a form
      which is overrided by an another form contained in a skin folder with higher priority.
      
      Person_view.my_title
       \
        |  custom_project_folder.Base_viewFieldLibrary  <== my_title field is not present
        |- erp5_core.Base_viewFieldLibrary.my_title  <== fallback to next form according skin priority
      
        * ProxyField.getTemplateField does not return acceptable acquisition context in some conditions.
        An infinite loop can be triggered because getTemplateField return the proxyfield itself.
        * If a Field returned by getRecursiveTemplateField is not wrapped in 
        portal acquisition context, it can not being accessed in Restricted Environment.
        Because current user is not known in the context of the inspected object.
        er5_core.Base_edit.py l194:
          field_meta_type = field.getRecursiveTemplateField().meta_type
        raises Unauthorized Exception.
      
      
      git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33589 20353a03-c40f-0410-a6d1-a30d3c3de9de
      b28dc2f1
  5. 24 Nov, 2009 1 commit
    • Romain Courteaud's avatar
      Allow to: · 389479a0
      Romain Courteaud authored
       - explicitely define the skin folder in the proxy field's form ID field.
       - surcharge a field library for a custom project by only putting inside
         the modified fields. Untouched field can be left inside standard
         field library.
      
      
      git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30848 20353a03-c40f-0410-a6d1-a30d3c3de9de
      389479a0