> > 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.