Modify

Opened 7 years ago

Last modified 5 years ago

#7633 new defect

Whiteboard plugin displays nothing if results not grouped

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

Description

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 Flor 6 years ago.
Patch for #7633 and #8795

Download all attachments as: .zip

Change History (7)

comment:1 Changed 7 years ago by CuriousCurmudgeon

Status: newassigned

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 7 years ago by kate@…

Yes, grouping them solves the problem. Thanks!

comment:3 Changed 7 years ago by CuriousCurmudgeon

Summary: Whiteboard plugin does not display ticketsWhiteboard plugin displays nothing if results not grouped

comment:4 Changed 6 years ago by Anders Hedberg

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 Flor

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 Flor

Patch for #7633 and #8795

comment:6 Changed 5 years ago by Ryan J Ollos

Owner: changed from CuriousCurmudgeon to Olemis Lang
Status: assignednew

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Olemis Lang.

Add Comment


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

 
Note: See TracTickets for help on using tickets.