Modify ↓
Opened 18 years ago
Closed 18 years ago
#1210 closed defect (fixed)
Discussion doesn't work with Timeline - SQL Error
Reported by: | Owned by: | Radek Bartoň | |
---|---|---|---|
Priority: | normal | Component: | DiscussionPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
If the "Discussion Changes" is turned on on the Timeline, the following error will occur:
Discussion changes event provider (DiscussionTimeline) failed: ProgrammingError: column "forum.name" must appear in the GROUP BY clause or be used in an aggregate function
The log file from Postgres looks like this:
ERROR: column "forum.name" must appear in the GROUP BY clause or be used in an aggregate function STATEMENT: SELECT t.id, t.subject, t.author, t.time, t.forum, f.name FROM topic t LEFT JOIN (SELECT name, id FROM forum GROUP BY id) f ON t.forum = f.id WHERE time BETWEEN 1168959599.0 AND 1171637999.0
I am using Trac 0.10.3, Postgres 8.2.1
Attachments (0)
Change History (2)
comment:1 Changed 18 years ago by
Status: | new → assigned |
---|
comment:2 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in changeset 1987.
Note: See
TracTickets for help on using
tickets.
Will be fixed in next changeset...