I am posting on this list because attempting to submit on
http://trac-hacks.org/newticket produces the following error:
{{{
500 Internal Server Error (Submission rejected as potential spam (IP
196.35.158.181 blacklisted by bsb.empty.us))
}}}
Please fix the blacklist, or post the bug for me. To avoid "potential
spam" arising from this mail existing on a large number of possibly-
insecure machines, the sent-from address above is not my real
address. To contact me use "graham bbi gishpuppy com" filling in the
punctuation.
The error in TypedTicketWorkflow is an exception when viewing tickets
on /query (at least with the gridflowplugin installed).
The fix is to not use "get_value_or_default", which does not exist in
my Ubuntu Jaunty default installation of Trac 0.11. Please fix
TypedTicketWorkflow and bump version.
{{{
Index: typedworkflow/controller.py
===================================================================
--- typedworkflow/controller.py (revision 5835)
+++ typedworkflow/controller.py (working copy)
@@ -21,8 +21,8 @@
#TODO normalization this should be done only
once
required_types = [a.strip() for a in
action_attributes
['tickettype'].split(',')]
- if ticket.get_value_or_default('type') in
required_types:
+ if ticket['type'] in required_types:
filterd_actions.append((default, action_name))
else:
filterd_actions.append((default, action_name))
}}}
In addition, I wish to comment on http://trac-hacks.org/ticket/5104
for the WorkflowEditorPlugin, which loses the "tickettype" and
"setresolution" workflow transition attributes during editing.
Please fix the plugin to preserve unrecognised attributes of workflow
transitions.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---