Modify

Opened 7 years ago

Closed 4 weeks ago

Last modified 4 weeks ago

#6792 closed defect (wontfix)

Error: Macro TicketCountQuery

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

Description (last modified by rjollos)

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

Attachments (0)

Change History (3)

comment:1 Changed 21 months ago by rjollos

  • Owner coderanger deleted

comment:2 Changed 4 weeks ago by rjollos

  • Description modified (diff)
  • Resolution set to wontfix
  • Status changed from new to closed

See TicketQuery instead.

comment:3 Changed 4 weeks ago by rjollos

Also, it appears the ticket is incorrectly reported against the MacroPostPlugin.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.