Opened 14 years ago

Closed 7 years ago

Last modified 7 years ago

#6792 closed defect (wontfix)

Error: Macro TicketCountQuery — at Version 2

Reported by: vbner1234 Owned by:
Priority: normal Component: MacroPostPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (last modified by Ryan J Ollos)

I have a problem when I use Macro TicketCountQuery. Here is the code that works fine when use the sqlite database, but after change the database to mysql, it shows the error messages, Does someone know how to fix it? thanks


command:

[[TicketCountQuery(query=created=today;, groupby=owner, title=Tickets Created Today)]]

error messages:

Error: Macro TicketCountQuery(query=created=today;, groupby=owner, title=Tickets Created Today) failed

1064You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') FROM (SELECT t.id AS id,t.owner AS owner,t.status AS status,t.priority AS prio' at line 1

Change History (2)

comment:1 Changed 9 years ago by Ryan J Ollos

Owner: Noah Kantrowitz deleted

comment:2 Changed 7 years ago by Ryan J Ollos

Description: modified (diff)
Resolution: wontfix
Status: newclosed

See TicketQuery instead.

Note: See TracTickets for help on using tickets.