Skip to content

Commit

Permalink
Merge pull request #79 from hotwax/76-brokering-continues-to-fail-and…
Browse files Browse the repository at this point in the history
…-retry-despite-being-disabled-in-product-store-settings

Instead of returning error if brokering is disabled return message on…
  • Loading branch information
dixitdeepak authored Jan 9, 2025
2 parents a2f7eb0 + 1bd1e2e commit cb12f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/co/hotwax/order/routing/OrderRoutingServices.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
<return error="true" message="ProductStore ${orderRoutingGroup.productStoreId} not found."/>
</if>
<if condition="productStore.enableBrokering == 'N'">
<return error="true" message="Routing is disabled for productStore ${productStore.storeName} [${orderRoutingGroup.productStoreId}]. "/>
<return message="Routing is disabled for productStore ${productStore.storeName} [${orderRoutingGroup.productStoreId}]. "/>
</if>

<entity-find entity-name="co.hotwax.order.routing.OrderRoutingRun" list="routingRuns">
Expand Down

0 comments on commit cb12f07

Please sign in to comment.