Fixed: Error on deleting the survey associated with the task

(OFBIZ-7594)

The following error is generated on deleting the survey associated with the task.

Error calling event: org.apache.ofbiz.webapp.event.EventHandlerException: Problems getting the service model (Cannot locate service by name (deleteWorkEffortSurveyAppl))

On exploration I found, In the refactoring work done under OFBIZ-8408, the deleteWorkEffortSurveyAppl service was removed.

Added the deleteWorkEffortSurveyAppl service, previously it was in written in the simple engine, converted it to entity-auto.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1859931 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Swapnil Mane
2019-05-25 09:25:56 +00:00
parent b601acc979
commit b871eda45f
@@ -1738,4 +1738,10 @@ under the License.
</type-validate>
</override>
</service>
<service name="deleteWorkEffortSurveyAppl" default-entity-name="WorkEffortSurveyAppl" engine="entity-auto" invoke="expire" auth="true">
<description>Expire the WorkEffort Survey</description>
<permission-service service-name="workEffortGenericPermission" main-action="DELETE"/>
<auto-attributes include="pk" mode="IN" optional="false"/>
</service>
</services>