[vistrails-dev] [VisTrails Trac] #818: RichTextCell Format options are wrong

VisTrails Trac tickets at vistrails.org
Wed Jan 15 14:35:10 EST 2014


#818: RichTextCell Format options are wrong
---------------------+-------------------------
  Reporter:  tommy   |      Owner:  somebody
      Type:  defect  |     Status:  new
  Priority:  major   |  Milestone:  version 2.2
 Component:  gui     |    Version:  master
Resolution:          |   Keywords:
---------------------+-------------------------

Comment (by remirampin):

 The backward compatibility is broken here. The current syntax for
 RichTextCell:
 {{{
 #!python
     reg.add_input_port(RichTextCell, "Format", basicModules.String,
                        entry_types=['enum'], values=["['html', 'rtf']"])
 }}}
 causes this on master although it worked before.

 This syntax works on both master and v2.1:
 {{{
 #!python
     reg.add_input_port(RichTextCell, "Format", basicModules.String,
                        entry_types=['enum'], values=[['html', 'rtf']])
 }}}

-- 
Ticket URL: <https://www.vistrails.org/ticket/818#comment:2>
VisTrails Trac <https://www.vistrails.org/>
VisTrails Project


More information about the vistrails-dev mailing list