Improved the FIXME comment in my last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1401573 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -24,8 +24,7 @@ under the License.
|
||||
<action service="createExampleStatus" mode="sync"/>
|
||||
</eca>
|
||||
<!-- FIXME: This ECA assumes the updateExample service was called with a statusId parameter.
|
||||
The ECAs in this file demonstrate a bad design pattern. The action services should be
|
||||
invoked within the called service, not invoked by ECAs. -->
|
||||
The condition should be improved to check for statusId being not empty. -->
|
||||
<!--
|
||||
<eca service="updateExample" event="return">
|
||||
<condition-field field-name="statusId" operator="not-equals" to-field-name="oldStatusId"/>
|
||||
|
||||
Reference in New Issue
Block a user