[Nuxeo-tickets] [Nuxeo Repository] #1666: Flexible documents and compound widgets: CPSFileField can't retrieve the right dependant fields ids

Nuxeo Repository trac at nuxeo.com
Mon Jun 5 22:09:10 CEST 2006


#1666: Flexible documents and compound widgets: CPSFileField can't retrieve the
right dependant fields ids
------------------------+---------------------------------------------------
 Reporter:  ybastide    |       Owner:  fguillaume                     
     Type:  defect      |      Status:  new                            
 Priority:  P2          |   Milestone:  CPS 3.4.2                      
Component:  CPSSchemas  |     Version:  TRUNK                          
 Severity:  normal      |    Keywords:  flexible document compound file
------------------------+---------------------------------------------------
 `CPSFileField.computeDependantFields` and
 `CPSFileField._getDependantFieldId` don't work as sub-objects of a
 flexible document (compound widget). This because

  1. `_getDependantFieldId` doesn't remove the current field's suffix
 (looking for e.g. `file_f0_f1` instead of `file_f1`)
  2. `computeDependantFields` can't find a generated .html's sub-objects.

 Patch attached.

 I suspect CPSOOo's `CPSOOoDocbookFileField` suffers a similar problem.

 yves

-- 
Ticket URL: <http://svn.nuxeo.org/trac/pub/ticket/1666>
Nuxeo Repository <http://www.cps-project.org/>
Nuxeo Repository


More information about the Nuxeo-tickets mailing list

This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.