Edgewall Software
Modify

Opened 18 years ago

Closed 15 years ago

#4382 closed defect (fixed)

&- character in ticket type with custom queries

Reported by: anonymous Owned by: Christian Boos
Priority: normal Milestone: 0.12
Component: report system Version: 0.10.2
Severity: normal Keywords: query
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

If ticket type value has &-character, for example 'q&a', custom query filter does not work correctly.

When I first add type filter to custom query, the drop down box has value q&a. If I click update button, query finds nothing, and type value in drop down box is corrected to q&a. After that the query works correctly: it finds 'q&a' tickets and filter drop down box has correct value.

Wrong value in type filter appears only when type filter has been just added.

Attachments (0)

Change History (5)

in reply to:  description comment:1 by Christian Boos, 18 years ago

Milestone: 0.10.4

Replying to anonymous:

Wrong value in type filter appears only when type filter has been just added.

Yep, I've noticed that already while testing "&" in milestones, same problem.

comment:2 by anonymous, 18 years ago

The problem is that the HTML entities like & don't mean anything to JavaScript, so when query.js gets the option name it doesn't convert & back to &. Not sure what to do about this though…

comment:3 by Christian Boos, 17 years ago

Keywords: query added
Milestone: 0.10.50.12
Owner: changed from Matthew Good to Christian Boos
Severity: trivialnormal

Problem happens also with query: links and TicketQuery

comment:4 by Christian Boos, 16 years ago

Milestone: 0.130.11.4

#5072, #8075 were closed as duplicates.

comment:5 by Christian Boos, 15 years ago

Milestone: 0.12.10.12
Resolution: fixed
Status: newclosed

Fixed in [8630].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.