Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047940Retail ModulesWeb POSpublic2021-10-27 10:092022-07-07 14:57
alostale 
alostale 
normalmajorhave not tried
closedfixed 
5
 
RR22Q1 
No
0047940: CustomInitialValidations are not filtered by application
Although subclasses of CustomInitialValidation can implement a executeForApplication method to define to which application they apply (ie. pos1 vs pos2), it is not taken into account executing all the validations in all the cases.
The two following cases fail:

1. Implement a validation for pos2, and log in pos1. Validation should NOT be executed.

2. Implement a validation for pos1, and log in pos2. Validation should NOT be executed.
No tags attached.
related to defect 0045809 closed ranjith_qualiantech_com POS2 POS2 should use POS2 as appName in requests. This AppName should be used to avoid initial validations execution 
Issue History
2021-10-27 10:09alostaleNew Issue
2021-10-27 10:09alostaleAssigned To => Retail
2021-10-27 10:09alostaleTriggers an Emergency Pack => No
2021-10-27 10:13alostaleRelationship addedrelated to 0045809
2021-10-27 10:27alostaleAssigned ToRetail => alostale
2021-10-27 10:32hgbotNote Added: 0132671
2021-10-27 11:30hgbotResolutionopen => fixed
2021-10-27 11:30hgbotStatusnew => closed
2021-10-27 11:30hgbotNote Added: 0132674
2021-10-27 11:30hgbotFixed in Version => RR22Q1
2021-10-27 11:30hgbotNote Added: 0132675
2022-07-07 14:31hgbotNote Added: 0139158
2022-07-07 14:57hgbotNote Added: 0139159

Notes
(0132671)
hgbot   
2021-10-27 10:32   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/610 [^]
(0132674)
hgbot   
2021-10-27 11:30   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/610 [^]
(0132675)
hgbot   
2021-10-27 11:30   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 9f76cae9412469990fec253fade22e5e9de43743
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 2021-10-27T10:27:58+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/9f76cae9412469990fec253fade22e5e9de43743 [^]

fixed BUG-47940: CustomInitialValidations are not filtered by application

The application name parameter was incorrectly obtained as it assumed it
was contained in the parameters object of the request whereas in reality
it is on its root.

---
M src/org/openbravo/retail/posterminal/InitialValidations.java
---
(0139158)
hgbot   
2022-07-07 14:31   
Merge Request created: https://gitlab.com/openbravo/ci/backoffice-api/-/merge_requests/25 [^]
(0139159)
hgbot   
2022-07-07 14:57   
Merge request closed: https://gitlab.com/openbravo/ci/backoffice-api/-/merge_requests/25 [^]