Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1464 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

Passing a Kid Serializer instance in TurboKid 1.0.2 does not work

Reported by: chrisz Owned by: chrisz
Priority: normal Milestone: 1.0.4
Component: Kid Version: 1.0.3
Severity: normal Keywords:


The format parameter of the TurboKid? render method has been modified in TurboKid? 1.0.2 to take a tuple (output, format), where output is a Kid Serializer instance and format is a Kid Format instance. Both can also be strings referencing some common predefined instances, e.g. ('xhtml', 'default'). If you're using strings, you can also pass 'xhtml default' or just 'xhtml' instead of the tuple. However, TurboKid? currently is screwed by just passing a Serializer instance. Instead, you need to pass a tuple, explicitly defining your format. Just passing a serializer should work as well, as it did before.

Change History

comment:1 Changed 12 years ago by chrisz

I'll fix that after my vacation, before the next TG release.

comment:2 Changed 12 years ago by chrisz

Fixed in TurboKid? r3429. Leaving this open as a reminder to create and require a new TurboKid? 1.0.3 version for the next TG release.

comment:3 Changed 12 years ago by chrisz

  • Owner changed from anonymous to chrisz

comment:4 Changed 12 years ago by chrisz

  • Status changed from new to closed
  • Resolution set to fixed

Applied in r3476.

Note: See TracTickets for help on using tickets.