Skip to content

Commit

Permalink
Fixed: Reject reviewed "Communication Event ID DEMO-COM-BACKLOG-1" is…
Browse files Browse the repository at this point in the history
… impossible (OFBIZ-OFBIZ-13137)

There is no setCustRequestStatus request-map in party controller.
This adds it

Conflicts handled by hand
  • Loading branch information
JacquesLeRoux committed Sep 9, 2024
1 parent e5a404c commit 74605c4
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions applications/party/webapp/partymgr/WEB-INF/controller.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ under the License.
<include location="component://commonext/webapp/WEB-INF/controller.xml"/>
<include location="component://content/webapp/content/WEB-INF/controller.xml"/>
<description>Party Manager Module Site Configuration File</description>

<handler name="simplecontent" type="view" class="org.apache.ofbiz.content.view.SimpleContentViewHandler"/>

<!-- Events to run on every request before security (chains exempt) -->
Expand Down Expand Up @@ -674,7 +674,7 @@ under the License.
<request-map uri="findVisits"><security https="true" auth="true"/><response name="success" type="view" value="findVisits"/></request-map>
<request-map uri="visitdetail"><security https="true" auth="true"/><response name="success" type="view" value="visitdetail"/></request-map>
<request-map uri="listLoggedInUsers"><security https="true" auth="true"/><response name="success" type="view" value="listLoggedInUsers"/></request-map>

<!-- communication event requests -->
<request-map uri="setCommunicationEventRoleStatus">
<security https="true" auth="true"/>
Expand Down Expand Up @@ -1157,7 +1157,7 @@ under the License.
<response name="success" type="request" value="json"/>
<response name="error" type="request" value="json"/>
</request-map>

<!-- Billing Account requests -->
<request-map uri="EditBillingAccount">
<security https="true" auth="true"/>
Expand Down Expand Up @@ -1321,7 +1321,7 @@ under the License.
<response name="success" type="view" value="PartyGeoLocation"/>
<response name="error" type="view" value="PartyGeoLocation"/>
</request-map>

<!-- ProductStoreRole -->
<request-map uri="ViewProductStoreRoles">
<security https="true" auth="true"/>
Expand Down Expand Up @@ -1407,6 +1407,13 @@ under the License.
<response name="success" type="view" value="ProfileEditUserLoginSecurityGroups"/>
</request-map>

<request-map uri="setCustRequestStatus">
<security https="true" auth="true"/>
<event type="service" invoke="setCustRequestStatus"/>
<response name="success" type="view-home" value="FindRequest"/>
<response name="error" type="view" value="EditRequest"/>
</request-map>

<!-- end of request mappings -->

<!-- View Mappings -->
Expand Down Expand Up @@ -1539,7 +1546,7 @@ under the License.
<view-map name="UpdateCommOrders" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#UpdateCommOrders"/>
<view-map name="UpdateCommReturns" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#UpdateCommReturns"/>
<view-map name="UpdateCommProducts" type="screen" page="component://party/widget/partymgr/CommunicationEventScreens.xml#UpdateCommProducts"/>

<view-map name="ViewProductStoreRoles" type="screen" page="component://party/widget/partymgr/PartyScreens.xml#ViewProductStoreRoles"/>

<!-- Billing Account-->
Expand Down

0 comments on commit 74605c4

Please sign in to comment.