[
https://jira.jboss.org/jira/browse/DNA-602?page=com.atlassian.jira.plugin...
]
Brian Carothers updated DNA-602:
--------------------------------
Attachment: DNA-602.patch
Attached patch that checks for Object[] and forces the correct cast in
StreamSequencerAdapter. I'm not committing this until I hear from Randall that
I'm not doing something else wrong that would obviate the need for the patch.
Can't Set Multi-Valued Property from Object[] through
StreamSequencerAdapter
----------------------------------------------------------------------------
Key: DNA-602
URL:
https://jira.jboss.org/jira/browse/DNA-602
Project: DNA
Issue Type: Bug
Components: Sequencers
Affects Versions: 0.6
Reporter: Brian Carothers
Attachments: DNA-602.patch
I may just be missing something, but when I try to call like this in my sequencer:
Path path =...;
Name propertyName = ...;
SequencerOutput output = ...;
List<String> list = ...;
output.setProperty(path, propertyName, list.toArray());
StreamSequencerAdapter.saveOutput creates a single-valued property with an Object[] as
the value instead of the multi-valued property that I would like it to create.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira