sqltest mishandles unicode values with type 'nb'

Bug #210398 reported by John Eikenberry
2
Affects Status Importance Assigned to Milestone
Products.ZSQLMethods
Invalid
Low
Unassigned

Bug Description

When rendering dtml-sqltest if the value is a unicode object and the type is 'nb' it still returns a test against an empty string.

Patch attached tweaks a type test to include unicode.

Revision history for this message
John Eikenberry (jae) wrote :
Revision history for this message
Tres Seaver (tseaver) wrote :

Patch needs a test.

Changed in zope2:
importance: Undecided → Low
status: New → Triaged
affects: zope2 → products.zsqlmethods
Revision history for this message
Colin Watson (cjwatson) wrote :

The products.zsqlmethods project on Launchpad has been archived at the request of the Zope developers (see https://answers.launchpad.net/launchpad/+question/683589 and https://answers.launchpad.net/launchpad/+question/685285). If this bug is still relevant, please refile it at https://github.com/zopefoundation/products.zsqlmethods.

Changed in products.zsqlmethods:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.