Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#7156 closed defect (worksforme)

Custom ticket query using contains operator is broken

Reported by: shuckins@… Owned by: Matthew Good
Priority: normal Milestone:
Component: report system Version: 0.11b1
Severity: major Keywords: search
Cc: it@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

To reproduce: Navigate to View Tickets → Custom Query. Any filter, including default "Owner". Change the operator in the drop-down from "is" to "contains". Any text may be entered for the search. Click Update button. When page loads, the operator is changed to "is", and the search text entered has "%7E" prepended.

This makes it impossible to use wildcard searches with any filter.

Occurred on:

  • Operating System: CentOS 4.6
  • Python 2.3.4
  • Apache 2.0.52
  • SVN 1.4.6

Attachments (0)

Change History (3)

comment:1 by Tim Hatch, 17 years ago

Works for me with 0.11b2 or trunk using tracd. What does your apache config look like? Can you hop on irc perhaps, or give a demo url? I have a feeling it's an install issue.

comment:2 by shuckins@…, 17 years ago

Haven't been able to try it with tracd just yet. As to Apache config, /etc/httpd/conf/httpd.conf has one section to send to https:

<VirtualHost *:80>
    RewriteEngine On
    RewriteRule ^/(.*) https://projects.zenoss.com/$1 [L]
    RewriteRule ^/$ https://projects.zenoss.com/trac/it [L]
    ServerAdmin admin@zenoss.com
    ServerName projects.zenoss.com
</VirtualHost>

And then the https section is:

<VirtualHost *:443>
    ServerAdmin admin@zenoss.com
    ServerName projects.zenoss.com

    <Directory "/var/www/projects/">
        Order allow,deny
        Allow from all
    </Directory>

    <Directory "/usr/lib/python2.3/site-packages/Trac-0.11b1-py2.3.egg/trac/htdocs">
        Order allow,deny
        Allow from all
    </Directory>

    <Location "/trac/">
        AuthType Basic
        AuthName "Trac"
        AuthUserFile /etc/httpd/htpasswd
        Require valid-user
        SetHandler mod_python
        PythonHandler trac.web.modpython_frontend
        PythonOption TracUriRoot /trac
        PythonOption TracEnvParentDir /var/www/projects
    </Location>
    Alias /trac/chrome/common /usr/lib/python2.3/site-packages/Trac-0.11b1-py2.3.egg/trac/htdocs
</VirtualHost>

comment:3 by Christian Boos, 17 years ago

Resolution: worksforme
Status: newclosed

works for me and you can verify it here, on trac.edgewall.org.

Modify Ticket

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