Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#13934 closed defect (fixed)

Updated Roadmap plugin seems to break specifying parameters on new ticket

Reported by: David.Byrne@… Owned by: Ryan J Ollos
Priority: normal Component: RoadmapPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.4

Description (last modified by Ryan J Ollos)

After updating with fix for Unicode, I seem to have a different issue. I have a menu item for creating new tickets. It uses an endpoint newticket?type=research. I'm getting an internal error when trying to create a new ticket, but if I comment out the Roadmap plugin, it works. Here is the traceback:

File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 639, in dispatch_request          
  dispatcher.dispatch(req)
File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 250, in dispatch          
  resp = chosen_handler.process_request(req)
File "/usr/lib/python2.7/site-packages/trac/ticket/web_ui.py", line 184, in process_request          
  return self._process_newticket_request(req)
File "/usr/lib/python2.7/site-packages/trac/ticket/web_ui.py", line 497, in _process_newticket_request          
  self._populate(req, ticket, plain_fields)
File "/usr/lib/python2.7/site-packages/trac/ticket/web_ui.py", line 859, in _populate          
  fields = {k: req.args.get(k) for k in req.args}
File "/usr/lib/python2.7/site-packages/trac/ticket/web_ui.py", line 859, in <dictcomp>          
  fields = {k: req.args.get(k) for k in req.args}
File "/usr/lib/python2.7/site-packages/trac/web/api.py", line 326, in get          
  return self.getfirst(name, default)
File "/usr/lib/python2.7/site-packages/trac/web/api.py", line 416, in getfirst          
  val = val[0]

If I use the interactive mode, I get req value of <RequestWithSession "GET '/newticket?type=research'"> and the k value shows as show-roadmap.

Attachments (0)

Change History (4)

comment:1 Changed 4 years ago by anonymous

Trac Release: 1.4

comment:2 Changed 4 years ago by Ryan J Ollos

Owner: changed from Franz to Ryan J Ollos
Status: newaccepted

comment:3 Changed 4 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 17953:

Fix index error when handler is not RoadmapModule

Fixes #13934.

comment:4 Changed 4 years ago by Ryan J Ollos

Description: modified (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.