Hi, I've tried this patch on the xmlrpc-r7413, but I couldn't get it working (with agilo opensource 1.2), I can authenticate in eclipse with xml-rpc but I have the message saying that the ticket.milestone.getAll is not found. Is there another incompatibility issue with agilo 1.2 ? Thanks
On 7 déc 2009, 14:15, Fredrik Salomonsson <[email protected]> wrote: > > > 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

