Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045809
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajorhave not tried2021-01-29 09:112021-02-03 17:01
ReporterguilleaerView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0045809: POS2 should use POS2 as appName in requests. This AppName should be used to avoid initial validations execution

DescriptionPOS2 should use POS2 as appName in requests instead of POS.

Initial validations should have a mechanism to avoid execution based on appName
Steps To ReproduceLogin in old web POS without schema

customInitialValidations coming from POS2 are executed (schemas existance validation). This does not make sense since schemas is unknow for web POS
Proposed Solutionattached patch with all improvemnts.
TagsNo tags attached.
Attached Filesdiff file icon pos2InitialValidations.diff [^] (5,346 bytes) 2021-01-29 09:38 [Show Content]
diff file icon customValidationImprovementsUsingAppName.diff [^] (2,283 bytes) 2021-01-29 09:38 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0045841 closedranjith_qualiantech_com Retail Modules API change: the validateTerminal method in the InitialValidations.java class needs to be changed to support multiple apps 
related to defect 0047940 closedalostale Retail Modules CustomInitialValidations are not filtered by application 

-  Notes
(0125864)
alostale (manager)
2021-01-29 13:48

The platform part to rename the application is implemented in this FR, ob-config part chunk in the attached diff shouldn't be applied:

https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/259 [^]
(0125936)
hgbot (developer)
2021-02-02 08:04

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/283 [^]
(0125944)
hgbot (developer)
2021-02-02 13:07

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/189 [^]
(0125958)
hgbot (developer)
2021-02-03 17:01

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 8c23cb8dcb78968634a24382981dd173b580f1d1
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-02-03T15:33:24+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/8c23cb8dcb78968634a24382981dd173b580f1d1 [^]

Fixed ISSUE-45809 : Added method to check the execution of Custom Validation

---
M src/org/openbravo/retail/posterminal/CustomInitialValidation.java
M src/org/openbravo/retail/posterminal/InitialValidations.java
---
(0125959)
hgbot (developer)
2021-02-03 17:01

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/283 [^]
(0125960)
hgbot (developer)
2021-02-03 17:01

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: d211b6a45b014f1a2b0cde71ce8fd5b01a42937c
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-02-03T15:33:41+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/d211b6a45b014f1a2b0cde71ce8fd5b01a42937c [^]

Related to ISSUE-45809: Added check to execute the InitialValidation from CustomValidation

---
M src/org/openbravo/pos2/POS2Constants.java
M src/org/openbravo/pos2/login/POS2InitialValidations.java
M src/org/openbravo/pos2/login/POS2LoginUtilsServlet.java
---
(0125961)
hgbot (developer)
2021-02-03 17:01

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/189 [^]

- Issue History
Date Modified Username Field Change
2021-01-29 09:11 guilleaer New Issue
2021-01-29 09:11 guilleaer Assigned To => Retail
2021-01-29 09:11 guilleaer Triggers an Emergency Pack => No
2021-01-29 09:38 guilleaer File Added: pos2InitialValidations.diff
2021-01-29 09:38 guilleaer File Added: customValidationImprovementsUsingAppName.diff
2021-01-29 09:48 guilleaer Steps to Reproduce Updated View Revisions
2021-01-29 09:48 guilleaer Proposed Solution updated
2021-01-29 13:48 alostale Note Added: 0125864
2021-01-31 13:44 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2021-02-01 06:25 ranjith_qualiantech_com Status new => scheduled
2021-02-02 08:04 hgbot Note Added: 0125936
2021-02-02 13:07 hgbot Note Added: 0125944
2021-02-03 16:39 marvintm Relationship added related to 0045841
2021-02-03 17:01 hgbot Resolution open => fixed
2021-02-03 17:01 hgbot Status scheduled => closed
2021-02-03 17:01 hgbot Fixed in Version => RR21Q2
2021-02-03 17:01 hgbot Note Added: 0125958
2021-02-03 17:01 hgbot Note Added: 0125959
2021-02-03 17:01 hgbot Note Added: 0125960
2021-02-03 17:01 hgbot Note Added: 0125961
2021-10-27 10:13 alostale Relationship added related to 0047940


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker