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 #1020 (closed defect: invalid)

Opened 11 years ago

Last modified 9 years ago

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

Reported by: nirvana117@… Owned by: anonymous
Priority: normal Milestone: 1.5
Component: TG 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

comment:1 Changed 11 years ago by khorn

  • Milestone 0.9 deleted

milestone passed, removing milestone

comment:2 Changed 11 years ago by jorge.vargas

  • Milestone set to 1.0

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

comment:3 Changed 11 years ago by alberto

  • Milestone changed from 1.0 to 1.1

comment:4 Changed 11 years ago by jorge.vargas

  • Milestone changed from 1.1 to 1.0.2

comment:5 Changed 10 years ago by alberto

  • Milestone changed from 1.0.2 to 1.0.3

comment:6 Changed 10 years ago by faide

  • Milestone changed from 1.0.3 to 1.1

comment:7 Changed 9 years ago 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.

Note: See TracTickets for help on using tickets.