Openbravo Issue Tracking System - Retail Modules
View Issue Details
0046752Retail ModulesWeb POSpublic2021-05-20 12:422021-05-20 15:53
caristu 
caristu 
urgentminorhave not tried
closedfixed 
5
 
RR21Q3 
No
0046752: Provide final payload used to invoke the action as part of the action result
It would be nice to provide the final payload used to invoke a state action as part of the state action result.

This feature will be used by the user action layer (core2) in order to allow post hooks read information from the final payload used to invoke the state action.

Note that the final payload can be modified in the action execution process itself, using action preparations. This information could not be accessed so far.
.
No tags attached.
Issue History
2021-05-20 12:42caristuNew Issue
2021-05-20 12:42caristuAssigned To => Retail
2021-05-20 12:42caristuTriggers an Emergency Pack => No
2021-05-20 12:50hgbotNote Added: 0128446
2021-05-20 13:08hgbotNote Added: 0128447
2021-05-20 13:12caristuDescription Updatedbug_revision_view_page.php?rev_id=22564#r22564
2021-05-20 13:13alostaleTypedefect => feature request
2021-05-20 13:13alostaleSummaryProvided final payload used to invoke the action as part of the action result => Provide final payload used to invoke the action as part of the action result
2021-05-20 13:14hgbotNote Added: 0128449
2021-05-20 13:14hgbotResolutionopen => fixed
2021-05-20 13:14hgbotStatusnew => closed
2021-05-20 13:14hgbotFixed in Version => RR21Q3
2021-05-20 13:14hgbotNote Added: 0128450
2021-05-20 13:16hgbotNote Added: 0128451
2021-05-20 13:16hgbotNote Added: 0128452
2021-05-20 15:53caristuAssigned ToRetail => caristu

Notes
(0128446)
hgbot   
2021-05-20 12:50   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/228 [^]
(0128447)
hgbot   
2021-05-20 13:08   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/513 [^]
(0128449)
hgbot   
2021-05-20 13:14   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/228 [^]
(0128450)
hgbot   
2021-05-20 13:14   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 097fecd9d88eee4d87334f2a1d1dcb350d187b33
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 2021-05-20T12:48:41+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/097fecd9d88eee4d87334f2a1d1dcb350d187b33 [^]

fixes ISSUE-46752: provide final payload as part of the action result

---
M web-test/model/application-state/State.test.js
M web/org.openbravo.mobile.core/app/model/application-state/State.js
---
(0128451)
hgbot   
2021-05-20 13:16   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 6af79806d8cb6516d80dc86678f81e0acc3f4138
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 2021-05-20T11:15:03+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/6af79806d8cb6516d80dc86678f81e0acc3f4138 [^]

related to ISSUE-46752: post hooks can read resulting action payload

---
M web-jspack/org.openbravo.core2/src/core/user-action/UserAction.js
M web-jspack/org.openbravo.core2/src/core/user-action/__test__/UserAction.test.js
---
(0128452)
hgbot   
2021-05-20 13:16   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/513 [^]