Red Hat Bugzilla – Bug 779254
Smooks does not support parameter addToList anymore
Last modified: 2010-02-10 10:46:09 EST
Affects: Documentation (Ref Guide, User Guide, etc.), Compatibility/Configuration
Date of First Response: 2009-12-09 08:56:05
See the linked issue.
Link: Added: This issue depends JBESB-3002
Link: Added: This issue is duplicated by SOA-1580
This is a problem with compatibility but would be better if this were documented, as the workaround is a straight forward configuration change.
Linked jira points out this is a compatibility change that needs documenting, From the Jira :-
The "addToList" option was removed in Smooks v1.1. Normally we try to maintain full backward compatibility for our configs, but in this case, support was removed completely.
Any configs using this can be updated to use the newer <jb:bean> config namespace (i.e. there is a migration path). It handles lists etc: http://www.smooks.org/mediawiki/index.php?title=V1.2:Smooks_v1.2_User_Guide#Java_Binding_Configuration_Details
Affects: Removed: [Compatibility/Configuration] Added: [Documentation (Ref Guide, User Guide, etc.), Compatibility/Configuration]
Link: Added: This issue is a dependency of JBQA-2762
This has now been documented in the "Migration" section of the Release Notes.
Here is a draft of the text:
The addToList option was completely removed in Smooks v1.1, meaning that the normal standard
of backward-compatibility could not be maintained.
Update any configurations that rely upon this option so that they instead use the newer <jb:bean>
configuration namespace, which can handle lists. See the "Java Binding" chapter in the Smooks
User Guide for more information.
EDIT: Fixed grammar error.