Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#10260 closed defect (invalid)

Quotations in Milestone name throws JS error

Reported by: chrissy@… Owned by: Remy Blank
Priority: normal Milestone:
Component: general Version: 0.12
Severity: normal Keywords: needinfo
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Steps to reproduce:

  • add a new milestone that has double quotation marks in the name: My "Milestone"
  • Go to a query page
  • Try to add a new filter for a Milestone

The milestone filter is not added, and a JS error pops up:

quote is not defined
[Break On This Error] return value.replace(/[&<>"]/g, function(c) { return quote[c]; }); 
batchmod.js (line 8)

Also applies to Components, priorities, etc

Attachments (0)

Change History (4)

comment:1 by Remy Blank, 13 years ago

Milestone: 0.12.3
Owner: set to Remy Blank

batchmod.js is part of th:BatchModifyPlugin, so this may be a PluginIssue. But the code shown is part of $.htmlEscape(), which is in core. I guess some escaping is in order.

comment:2 by Remy Blank, 13 years ago

Keywords: needinfo added

I can't reproduce this in any of the major browsers. Which browser are you using? Can you please try to reproduce the issue with all plugins disabled?

comment:3 by chrissy@…, 13 years ago

Resolution: invalid
Status: newclosed

It was indeed caused by the BatchModify Plugin.

comment:4 by Remy Blank, 13 years ago

Milestone: 0.12.3

Thanks for the feedback.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Remy Blank.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Remy Blank 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.