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:
Adrian Crum
2012-10-24 07:46:39 +00:00
parent 58b92c1c5d
commit 20da833966
+1 -2
View File
@@ -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"/>