Issue 159 in jira-suite-utilities: NumberFormatException on copy Fix Version/s field on Jira 4.2

6 views
Skip to first unread message

jira-suite...@googlecode.com

unread,
Jan 16, 2011, 9:03:40 AM1/16/11
to jira-suite-utili...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 159 by marco.br...@gmail.com: NumberFormatException on copy Fix
Version/s field on Jira 4.2
http://code.google.com/p/jira-suite-utilities/issues/detail?id=159

What steps will reproduce the problem?
1. Create a Custom Field "Planning Version/s" (VersionCFType)
2. Set the post-function to copy the field "Fix Version/s" to "Planning
Version/s"
3. Perform the transition on the issue

What is the expected output? What do you see instead?
I was expecting that "Planning Version/s" field takes the value of "Fix
Version/s" field. Unfortunately an exception occurs (see the attachment).

What version of the product are you using? On what operating system?
Jira 4.2

Please provide any additional information below.
The exception is caused by the condition in WorkflowUtils:326. The
VersionCFType is not instance of MultiSelectCFType neither
AbstractMultiCFType.
I suggest to change the condition using MultipleCustomFieldType.
es.

if ((customField.getCustomFieldType() instanceof MultipleCustomFieldType)) {
// format already correct
} else {
...
}


Attachments:
jsu-exception.log 38.3 KB

jira-suite...@googlecode.com

unread,
Jan 30, 2011, 5:53:42 AM1/30/11
to jira-suite-utili...@googlegroups.com
Updates:
Status: Fixed

Comment #1 on issue 159 by abas...@gmail.com: NumberFormatException on copy

(No comment was entered for this change.)

Reply all
Reply to author
Forward
0 new messages