Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 3.2.1
-
Fix Version/s: None
-
Component/s: Core: (other)
-
Labels:None
-
Environment:
JDK 6
-
User impact:Medium
-
Log Output:
-
Similar Issues:None
Description
See the attached ValidatorTestCase.java and validator-config.xml, which has been extended to expose the bug.
Note that the bug will cause all other tests in the case to fail.
The filter is added to the properties of the generic bean definition created from the pattern:validator element with the property name "messageProcessor".
If there is a outbound endpoint child element, it is added to the properties of the generic bean definition created from the pattern:validator element with the property name "messageProcessor", thus overwriting the message property created by the filter child element.
The end result will be an exception thrown by the org.mule.construct.Validator class, since it will receive null-value for the validation filter.
If the outbound endpoint is specified using an attribute of the pattern:validator element, the above problem will not occur.
Activity
| Field | Original Value | New Value |
|---|---|---|
| Attachment | validator-config.xml [ 15328 ] | |
| Attachment | ValidatorTestCase.java [ 15327 ] |
| Priority | To be reviewed [ 6 ] | Major [ 3 ] |
- Repository mule on http://foo.bar/ failed: Error in remote call to 'FishEye 0 (http://foo.bar/)' (http://foo.bar) [AbstractRestCommand{path='/rest-service-fe/changeset-v1/listChangesets/', params={expand=changesets[-21:-1].revisions[0:29], comment=MULE-6133, p4JobFixed=MULE-6133, rep=mule}, methodType=GET}] : java.net.UnknownHostException: foo.bar
Validator test case and Mule configuration file with new test that exposes the issue.