> > What you probably could do is patch the trac-xml-rpc to not just use the
> > classname, but maps the names to the old names of trac.
>
> > That could be one workaround - if you get it working, please share!
I actually got it working by doing the quickest and dirtiest
workaround possible. I modified ticket.py in TracXmlRpc to check for
the class name 'AgiloMilestone' and replace it with 'Milestone' where
the namespace is returned.
Line 378 onwards:
...
def ticketEnumFactory(cls):
""" Return a class which exports an interface to one of the Trac
ticket abstract enum types. """
class AbstractEnumImpl(Component):
implements(IXMLRPCHandler)
def xmlrpc_namespace(self):
# Workaround for changed class names in Agilo-1.1.1
if (cls.__name__.lower() == 'agilomilestone'):
return 'ticket.milestone'
return 'ticket.' + cls.__name__.lower()
def xmlrpc_methods(self):
...
Admittedly, this is NOT pretty but it will have to do for now.
--
Follow Agilo on Twitter: http://twitter.com/agiloforscrum
-----
You received this message because you are subscribed to the Google
Groups "Agilo for Scrum" group. This group is moderated by agile42 GmbH
http://www.agile42.com and is focused in supporting Agilo for Scrum users.
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/agilo?hl=en