Modify

Opened 21 months ago

Last modified 21 months ago

#11102 new defect

"There was an error" on save, with no information

Reported by: andrex Owned by: jun66j5
Priority: normal Component: TracWorkflowAdminPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

I make a change in my workflow, and try to save. When I do, I get a popup that says "There was an error", and a balloon on the page that says the same thing, with only an empty bullet where apparently the explanation should be. Please see the screenshot.

conf/trac.ini is writeable by the web server (user apache):

$ ls -l conf/trac.ini
-rw-rw-r-- 1 apache admin 6340 May 20 11:56 conf/trac.ini

The Trac log doesn't say much:

2013-05-20 11:58:42,998 Trac[api] DEBUG: action controllers for ticket workflow: ['ConfigurableTicketWorkflow']
2013-05-20 11:58:43,005 Trac[main] DEBUG: Negotiated locale: None -> en_US
2013-05-20 11:58:43,020 Trac[chrome] DEBUG: Prepare chrome data for request
2013-05-20 11:58:44,605 Trac[main] DEBUG: Dispatching <RequestWithSession "POST '/admin/ticket/workflowadmin'">

Attachments (1)

error_dialog.png (24.5 KB) - added by andrex 21 months ago.

Download all attachments as: .zip

Change History (6)

Changed 21 months ago by andrex

comment:1 Changed 21 months ago by rjollos

You might take a look in the JavaScript error console to see if there is more information about the error.

comment:2 Changed 21 months ago by andrex

No, the Javascript error console is empty - zero errors.

I'll explore the code and try to debug further.

comment:3 Changed 21 months ago by jun66j5

  • Trac Release set to 1.0

Cannot reproduce it. Could you please post the [ticket-workflow] section in your trac.ini and let us know the changes of workflow.

And, what version of Trac and Chrome are you using?

comment:4 Changed 21 months ago by andrex

Trac 1.0, Chrome 26.0.1410.63 in Linux. I haven't customized the workflow; it's what I got OOTB when I created the Trac environment.

[ticket-workflow]
accept = new,assigned,accepted,reopened -> accepted
accept.operations = set_owner_to_self
accept.permissions = TICKET_MODIFY
leave = * -> *
leave.default = 1
leave.operations = leave_status
reassign = new,assigned,accepted,reopened -> assigned
reassign.operations = set_owner
reassign.permissions = TICKET_MODIFY
reopen = closed -> reopened
reopen.operations = del_resolution
reopen.permissions = TICKET_CREATE
resolve = new,assigned,accepted,reopened -> closed
resolve.operations = set_resolution
resolve.permissions = TICKET_MODIFY

I figure this could be caused by a misconfiguration (permissions?), but usually there's evidence in the Apache or Trac logs when that happens.

comment:5 Changed 21 months ago by andrex

Hm, the Apache log does show this:

[error] /srv/var/lib/trac/plugins/TracWorkflowAdmin-0.12.0.2-py2.6.egg/tracworkflowadmin/web_ui.py:667: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6

Add Comment

Modify Ticket

Action
as new The owner will remain jun66j5.
Author


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

 
Note: See TracTickets for help on using tickets.