[Nuxeo-tickets] Re: [Nuxeo Repository] #1817: Flexible compound widgets destruction doesn't recurse

Nuxeo Repository trac at nuxeo.com
Wed Mar 14 01:27:33 CET 2007


#1817: Flexible compound widgets destruction doesn't recurse
-----------------------------+----------------------------------------------
 Reporter:  gracinet         |        Owner:  fguillaume
     Type:  defect           |       Status:  new       
 Priority:  P3               |    Milestone:  CPS 3.4.5 
Component:  CPSDocument      |      Version:  TRUNK     
 Severity:  minor            |   Resolution:            
 Keywords:  flexible widget  |  
-----------------------------+----------------------------------------------
Changes (by gracinet):

  * summary:  Flexible widgets destruction doesn't delete them => Flexible
              compound widgets destruction doesn't recurse

Comment:

 I've no time to test a fix right now, but this must be the culprit
 {{{
             if widget.meta_type == 'CPS Compound Widget':
                 new_widget_ids.extend(widget.widget_ids)
 }}}

 Nowadays, the meta_types are "Compound Widget" and "Code Compound Widget".
 In general, widgets meta_types don't start with "CPS". Lookup by meta_type
 is in any case weak.

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



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