Opened 6 years ago

Last modified 4 years ago

#7633 new defect

Whiteboard plugin displays nothing if results not grouped

Reported by: kate@… Owned by: olemis
Priority: normal Component: WhiteboardPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12


I am using trac 0.12 on Fedora, Firefox 3.6.8 on a mac. Trac runs as regular cgi.

I enabled the plugin and can see the whiteboard link in the custom query. Make the query. Hit "Update". I see three tickets. When I click on whiteboard, no tickets are shown. If I hit "update" again, the view switches back to regular custom query view.

There are no JS errors in the console.

Attachments (1)

whiteboardplugin-r10481.patch (6.3 KB) - added by Poly 6 years ago.
Patch for #7633 and #8795

Download all attachments as: .zip

Change History (7)

comment:1 Changed 6 years ago by CuriousCurmudgeon

  • Status changed from new to assigned

Are you grouping the results by anything? Currently the whiteboard does not display if the results are not grouped. The UI should either display the tickets in a single column or give the user some indication that the results need to be grouped. I would lean towards a message. It doesn't seem very meaningful otherwise.

comment:2 Changed 6 years ago by kate@…

Yes, grouping them solves the problem. Thanks!

comment:3 Changed 6 years ago by CuriousCurmudgeon

  • Summary changed from Whiteboard plugin does not display tickets to Whiteboard plugin displays nothing if results not grouped

comment:4 Changed 6 years ago by AndersH

Please add this to the wiki-page. Now I looked for a square called "whiteboard". Doing a custom query, selecting grouping, hitting update and finally "whiteboard" is not intuitive.

comment:5 Changed 6 years ago by Poly

I supplied a patch (attachment:whiteboardplugin-r10481.patch) which addresses this issue.

With this patch you will able to get an whiteboard view even without setting the "group by" in the query.

The normal result view crashed with a python dict "key error" when the owner-field was removed from the query. This patch addresses this issue too.

It also is a fix for #8795.

I propose to close this issue when the patch is in the mainline of the plugin.

Changed 6 years ago by Poly

Patch for #7633 and #8795

comment:6 Changed 4 years ago by rjollos

  • Owner changed from CuriousCurmudgeon to olemis
  • Status changed from assigned to new

Add Comment

Modify Ticket

as new The owner will remain olemis.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.