Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331913 - Additional square brackets appear in custom field values passed through Mylyn
Summary: Additional square brackets appear in custom field values passed through Mylyn
Status: CLOSED NOT_ECLIPSE
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 3.4   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 major with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Mylyn Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-06 10:38 EST by Dave Gay CLA
Modified: 2010-12-06 11:04 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Gay CLA 2010-12-06 10:38:03 EST
While tracking down a problem with a Jira plugin, I sniffed the packet exchange between Mylyn/Eclipse and Jira, and discovered the following pattern:


From JIRA to MYLYN:
... <description xsi:type="soapenc:string">Testing 123</description> ... <values xsi:type="soapenc:string">0018000000lL2qfAAC</values> ...

From MYLYN to JIRA:
... <values xsi:type="xsd:string">Testing 456</values> ... <values xsi:type="xsd:string">[0018000000lL2qfAAC]</values>

From JIRA to MYLYN:
... <description xsi:type="soapenc:string">Testing 456</description> ... <values xsi:type="soapenc:string">[0018000000lL2qfAAC]</values> ...


Note that the only field I changed in Eclipse was the description field (from "Testing 123" to "Testing 456").  The custom field value (of type "soapenc:string") was sent as "0018000000lL2qfAAC", but was returned as "[0018000000lL2qfAAC]".


To reproduce this bug: add a custom field to a Jira issue, set to an alphanumeric value, sync the issue to Mylyn, change the description, sync the issue back to Jira.


This issue appears to be caused by the XML encoding/decoding process.


More extensive packet traces are posted on this forum thread:
  http://forums.atlassian.com/thread.jspa?messageID=257360148
Comment 1 Steffen Pingel CLA 2010-12-06 11:04:38 EST
The Mylyn JIRA Connector has moved to Atlassian. Please file this bug and all future reports at: https://studio.atlassian.com/browse/PLE .

Please see this FAQ entry for further details: http://wiki.eclipse.org/Mylyn/FAQ#What_happened_to_the_Mylyn_JIRA_Connector.3F .