Passing a list to itemswidget crashes

Bug #81394 reported by Diogo Matsubara
2
Affects Status Importance Assigned to Milestone
Launchpad itself
In Progress
Low
Francis J. Lacoste

Bug Description

Steps to reproduce (using sample data):
1. Open http://answers.launchpad.dev/~name12/+answeredtickets?field.sort=foo&field.sort=bar
2. Crash like: OOPS-388D274

Changed in launchpad-support-tracker:
status: Unconfirmed → Confirmed
Revision history for this message
Francis J. Lacoste (flacoste) wrote :

The issue seems to be that the search page has action="". This makes the windows CE browser appends the search parameters to the existing query string doubling every parameters.

I'll make action="" explicit and that will solve the problem.

Changed in launchpad-support-tracker:
assignee: nobody → flacoste
importance: Undecided → Low
Revision history for this message
Francis J. Lacoste (flacoste) wrote :

There also an underlying problem with the Zope3 widget which is that if a list is pass to ItemsWidgetBase, it will crash like in the OOPS.

It should probably catch the TypeError in convertTokensToValue() and transform it into the appropriate exception for the widget system (probably ConversionError).

Changed in launchpad:
importance: Undecided → Low
status: Unconfirmed → Confirmed
Revision history for this message
Francis J. Lacoste (flacoste) wrote :

fixed in RF 4446

Changed in launchpad-support-tracker:
status: Confirmed → Fix Committed
Revision history for this message
Francis J. Lacoste (flacoste) wrote :

Rolled out with 1.79 on 2007/02/01.

Changed in launchpad-support-tracker:
status: Fix Committed → Fix Released
Revision history for this message
Francis J. Lacoste (flacoste) wrote :

I'll look into the Zope3 side of thing.

Changed in launchpad:
assignee: nobody → flacoste
Revision history for this message
Francis J. Lacoste (flacoste) wrote :

Raising importance as this is causing somewhat frequent OOPS.

Changed in launchpad:
importance: Low → High
Revision history for this message
Francis J. Lacoste (flacoste) wrote :

I've reported a bug upstream which include a patch and test for this issue: https://bugs.beta.launchpad.net/~flacoste/+assignedbugs

Changed in launchpad:
status: Confirmed → In Progress
Revision history for this message
Francis J. Lacoste (flacoste) wrote :

Errr, the correct URL where the bug is reported upstream is http://www.zope.org/Collectors/Zope3-dev/764

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.