Ticket #2331 (closed defect: fixed)

Opened 10 months ago

Last modified 9 months ago

Fieldsets HTML output escaped after Sprox, ToscaWidgets and tw.forms upgrade

Reported by: diegows Assigned to:
Priority: normal Milestone:
Component: TurboGears Version:
Severity: normal Keywords:
Cc:

Description

I've been using TableFieldSet? without any problem until Sprox, Toscawidgets and tw.forms upgrade (0.6.1, 0.9.6 and 0.9.6). After upgrade, TableFieldSet?().display() shows the children fields escaped.

I'm using TG2.

Steps to reproduce:

virtualenv --no-site-packages tg2envirtualenv --no-site-packages tg2env easy_install -i http://www.turbogears.org/2.0/downloads/current/index tg.devtools easy_install zope.sqlalchemy easy_install Babel easy_install Catwalk paster quickstart testproject cd testproject paster shell

from tw.forms import TableFieldSet?, TextField? fs = [ TextField?('one'), TextField?('two') ] f = TableFieldSet?('testfieldset', children = fs) print f.display()

I've downgrade Sprox, tw.forms and ToscaWidgets? to previous version and works again.

Additional info:

The output is correct using python directly, without paster shell.

Change History

06/06/09 21:13:54 changed by diegows

from tw.forms import TableFieldSet, TextField
fs = [ TextField?('one'), TextField?('two') ] 
f = TableFieldSet?('testfieldset', children = fs)
print f.display() 

06/06/09 21:15:51 changed by diegows

virtualenv --no-site-packages tg2
cd tg2
. bin/activate
easy_install -i http://www.turbogears.org/2.0/downloads/current/index tg.devtools
easy_install zope.sqlalchemy Babel Catwalk
paster quickstart testproject
cd testproject
paster shell 

06/19/09 18:04:03 changed by diegows

  • status changed from new to closed.
  • resolution set to fixed.

http://toscawidgets.org/trac/tw.forms/ticket/32 is related to this bug.

I've installed tw.forms from trunk (508cfe7eb5b1) and works.