amreshverma / mantibugz

Automatically exported from code.google.com/p/mantibugz
0 stars 0 forks source link

IssueData - target_version not supported #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Enter MantisBT data
2. click "connect"

What is the expected output? What do you see instead?
An error dialog pops up telling me to check the connection data.

What version of the product are you using? On what operating system?
MantisBT: 1.2.5
mantibugz: 1.0

Please provide any additional information below.

I have been able to workaround this issue by commenting out the following line 
in api/soap/mantisconnect.php:
        'target_version'  =>  array( 'name'=>'target_version',    'type' => 'xsd:string',     'minOccurs' => '0' ),   

Exception output:
org.xml.sax.SAXException: Invalid element in 
org.mantisbt.connect.axis.IssueData - target_version
    at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:264)
    at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
    at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
    at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
    at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
    at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
    at org.apache.axis.client.Call.invoke(Call.java:2583)
    at org.apache.axis.client.Call.invoke(Call.java:2482)
    at org.apache.axis.client.Call.invoke(Call.java:1867)
    at org.mantisbt.connect.axis.MantisConnectBindingStub.mc_project_get_issues(MantisConnectBindingStub.java:2149)
    at org.mantisbt.connect.axis.MCSession.getProjectIssues(MCSession.java:658)
    at org.mantisbt.connect.axis.MCSession.getProjectIssues(MCSession.java:652)
    at com.truecool.mantibugz.mantis.MantisConnection.getIssues(MantisConnection.java:86)
    at com.truecool.mantibugz.gui.MainForm.updateIssuesTable(MainForm.java:281)
    at com.truecool.mantibugz.gui.MainForm.access$200(MainForm.java:21)
    at com.truecool.mantibugz.gui.MainForm$3$1.run(MainForm.java:65)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
    at java.awt.EventQueue.access$000(EventQueue.java:96)
    at java.awt.EventQueue$1.run(EventQueue.java:608)
    at java.awt.EventQueue$1.run(EventQueue.java:606)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:617)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Original issue reported on code.google.com by ruq...@gmail.com on 8 Jun 2012 at 11:08