Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#3640 closed defect (fixed)

Users can't create tickets

Reported by: anonymous Owned by: Jonas Borgström
Priority: normal Milestone: 0.10
Component: ticket system Version: 0.10rc1
Severity: minor Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

After updating from 0.10dev to 0.10b1 our users are not able to create new tickets. This is the error message they are receiving:

Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 335, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 220, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.4/site-packages/trac/ticket/web_ui.py", line 109, in process_request
    del req.args['owner']
KeyError: 'owner'

We have updated regularly throughout 0.10dev and this is the first time we have encountered this problem. The usual update procedure steps were taken:

svn update
sudo python setup.py install
sudo trac-admin /path/to/trac upgrade
sudo /usr/local/etc/rc.d/apache restart

Thanks for any pointers on this.

Attachments (0)

Change History (6)

comment:1 by Christian Boos, 18 years ago

Component: generalticket system
Milestone: 0.10
Resolution: fixed
Severity: normalminor
Status: newclosed

This problem was recently introduced by r3672. Should be fixed by r3681.

comment:2 by anonymous, 18 years ago

This has been confirmed by our users. Thanks!

comment:3 by pg@…, 18 years ago

Resolution: fixed
Status: closedreopened

I'd like to have anonymous users be able to create tickets, but not to modify any ticket later on. So I tried to set

permission remove anonymous TICKET_MODIFY

which leaves the following permissions TICKET*

anonymous  TICKET_CREATE  
anonymous  TICKET_VIEW    

but then I get the error that is mentioned above. Any idea?

in reply to:  3 comment:4 by Matthew Good, 18 years ago

Resolution: fixed
Status: reopenedclosed

Replying to pg@levana.de:

I'd like to have anonymous users be able to create tickets, but not to modify any ticket later on. So I tried to set

permission remove anonymous TICKET_MODIFY

which leaves the following permissions TICKET*

…snip…

but then I get the error that is mentioned above. Any idea?

As cboos mentioned the fix was made in r3681, so you need at least that revision of Trac. The fix is not included in Trac 0.10b1, so you will need to get Trac from SVN or wait until a new release is made.

comment:5 by mwigge@…, 18 years ago

Resolution: fixed
Status: closedreopened
Version: devel0.10rc1

I have the same problem with RC1 which should be revision 3773 I think… it only works with TICKET_MODIFY for anonaymous.

comment:6 by mwigge@…, 18 years ago

Resolution: fixed
Status: reopenedclosed

maybe I was too fast or the error came from the cache but now it works… sometimes it helps to make a lunch break ;-)

Modify Ticket

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