Ticket #1020 (closed defect: invalid)

Opened 2 years ago

Last modified 3 months ago

AjaxGrid can't display any rows if one row has None

Reported by: nirvana117@gmail.com Assigned to: anonymous
Priority: normal Milestone: 1.5
Component: Widgets Version: 0.9a6
Severity: normal Keywords: AjaxGrid Bug
Cc:

Description

something like this:

grid = AjaxGrid(refresh_url="/search")

@expose(format="json") def search(self):

return dict(headers = 1?, rows=[[None],2?])

the AjaxGrid will not display anything if there is a None in any row.

the bug may be in TurboGears-0.9a6-py2.4.egg\turbogears\static\js\widgets.js

PS. because i know very little about javascript, i just change simplejson translate None to "".

Change History

09/22/06 11:51:26 changed by khorn

  • milestone deleted.

milestone passed, removing milestone

09/23/06 17:40:54 changed by jorge.vargas

  • milestone set to 1.0.

anyone can confirm this and/or provide a better undestanding of the bug.

01/12/07 06:27:58 changed by alberto

  • milestone changed from 1.0 to 1.1.

01/31/07 23:42:45 changed by jorge.vargas

  • milestone changed from 1.1 to 1.0.2.

05/01/07 12:56:58 changed by alberto

  • milestone changed from 1.0.2 to 1.0.3.

07/03/07 09:46:03 changed by faide

  • milestone changed from 1.0.3 to 1.1.

08/22/08 09:58:52 changed by Chris Arndt

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

This ticket has not received feedback for nearly 2 years and there is no proper error description nor did anyone confirm the bug. Closing this ticket as invalid. If you can confirm the bug, please re-open the ticket but be aware that because TG widgets will be phased out in favor of toscawidgets, it will probably get a low priority.