Opened 17 years ago
Last modified 15 years ago
#2008 closed defect
XML RPC Plugin create Ticket return non standard Integer Type (PostgresSQL specifc type) — at Initial Version
Reported by: | Owned by: | Alec Thomas | |
---|---|---|---|
Priority: | normal | Component: | XmlRpcPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
This was originally submitted to Eclipse's Bug (https://bugs.eclipse.org/bugs/show_bug.cgi?id=202230)
Its been commented may be the createTicket in XMLRPC are returning PostgreSQL specific number type (non standard Integer) which cause the problem.
Steps To Reproduce: 1.Try to create an TRAC Repository New Task using XMLRPCPlugin 2.When click on "Create New", the EDITOR keep unsaved status with the ERROR message "Unable to submit at this time. Check connectivity and retry." 3.TICKET(Task) was actually created on TRAC with generated ID
This log was generated during this error
!ENTRY org.eclipse.mylyn.trac.core 4 5 2007-09-05 11:59:48.962 !MESSAGE 'cannot marshal <type 'PgInt8'> objects' while executing 'ticket.create()' !STACK 0 org.eclipse.mylyn.internal.trac.core.TracRemoteException: 'cannot marshal <type 'PgInt8'> objects' while executing 'ticket.create()' at org.eclipse.mylyn.internal.trac.core.TracXmlRpcClient.callInternal(TracXmlRpcClient.java:182) at org.eclipse.mylyn.internal.trac.core.TracXmlRpcClient.call(TracXmlRpcClient.java:127) at org.eclipse.mylyn.internal.trac.core.TracXmlRpcClient.createTicket(TracXmlRpcClient.java:603) at org.eclipse.mylyn.internal.trac.core.TracTaskDataHandler.postTaskData(TracTaskDataHandler.java:332) at org.eclipse.mylyn.tasks.ui.editors.AbstractRepositoryTaskEditor$37.run(AbstractRepositoryTaskEditor.java:2754) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Caused by: org.apache.xmlrpc.XmlRpcException: 'cannot marshal <type 'PgInt8'> objects' while executing 'ticket.create()' at org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTransport.java:184) at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:145) at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:94) at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:53) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:166) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:136) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:125) at org.eclipse.mylyn.internal.trac.core.TracXmlRpcClient.callInternal(TracXmlRpcClient.java:169) ... 5 more
More information: Trac 10.3 with PostgresSQL 8.2.3
Note: See
TracTickets for help on using
tickets.