Edgewall Software

Ticket #5573 (closed defect: worksforme)

Opened 15 months ago

Last modified 2 months ago

"is not" option in ticket query not functioning

Reported by: matthew.block@… Owned by: mgood
Priority: high Milestone:
Component: report system Version: devel
Severity: minor Keywords: query
Cc:

Description

The "is not" option in the ticket query does not seem to be functioning. For example, I want all tickets that "are not" a certain milestone. So in the filter I select "is not" from the drop down and pick the desired milestone to exclude and click update. I get no results and the drop down is reset to "is" after refresh. The URL string gets a funky %2521 before the milestone number. If I edit the URL and change the "%2521" to a "!", the query works great.

Attachments

Change History

Changed 12 months ago by sid

This is working fine on t.e.o. (currently running 0.10.5dev). example 'is not' query

What version are you running?

Changed 12 months ago by anonymous

I am running 0.11dev-r5849. 0.11dev was not an option in the version list so I picked what seemed to be the appropriate version - devel.

Changed 12 months ago by anonymous

  • milestone set to 0.11

Did a little more checking and it appears what is happening someone is doing an extra url-encoding. Basically, in the 0.11dev version (currently running r6010), if you use the is not option in the custom query, that item shows in the resulting url with a %2521 in front of it isntead of just a %21 for the !. so someone is converting the ! to %21, and then it is getting converted again which converts the % to %25.

Changed 10 months ago by hyuga <hyugaricdeau@…>

This is odd, because I'm running running r5883 currently, and it does not have this problem. But I haven't noticed any changes between then and r6010 that would cause such a problem. So I think maybe this one needs more info.

Changed 10 months ago by anonymous

The contains option is also not working for a text field. Basically, any option that would require passing a special character in the url is not working because it is getting replaced twice so it always has the extra %25 in it.

Changed 10 months ago by cboos

  • keywords query added
  • owner changed from jonas to mgood
  • component changed from general to report system
  • severity changed from major to minor
  • milestone changed from 0.11 to 0.11.1

Moved to 0.11.1.

Changed 2 months ago by osimons

  • status changed from new to closed
  • resolution set to worksforme
  • milestone 0.11.2 deleted

I've tried to recreate this on current 0.11-stable r7275, and it works like it should for the various dropdowns and text fields I tested.

I'm going to close the ticket as 'worksforme', but please reopen if you can find a way to recreate this on current 0.11 or trunk.

Add/Change #5573 ("is not" option in ticket query not functioning)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.