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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048760
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2022-03-10 11:122022-06-06 00:06
Reporterandre_montenegroView Statuspublic 
Assigned Tomeriem_azaf 
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

0048760: [Organization Variables] Unhandled rejection error when introducing an incorrect date & cancelling

DescriptionWhen editing an organization variable date field ("Initial Date" OR "End Date"), if user introduces a non-valid date & cancels the edition, an Unhandled rejection full screen error is displayed.
Steps To ReproducePreconditions:
 - From ERP (Backoffice), create at least one organization variable

Steps to reproduce issue:
 - Login POS2
 - Select the "Store" icon (5th element in Lateral control bar)
 - Click the option "Organization Variables"
 - Click "EDIT" button from any variable previously created & a pop up will be displayed in foreground
 - Edit "Initial Date" OR "End Date" field with a non-valid date, e.g.: 99-99-9999
 - Click "Cancel" button, wait for 1 second & observe the error screen displayed
TagsNo tags attached.
Attached Filespng file icon ErrorScreen_OrganizationVariables.png [^] (135,422 bytes) 2022-03-10 11:12

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0137454)
hgbot (developer)
2022-05-18 17:01

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/752 [^]
(0138077)
hgbot (developer)
2022-06-06 00:06

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/752 [^]
(0138078)
hgbot (developer)
2022-06-06 00:06

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 5d87981a271fb4087731da7b63f1bfa612ac9dd1
Author: Meriem Azaf <meriem.azaf@openbravo.com>
Date: 05-06-2022 22:22:49
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/5d87981a271fb4087731da7b63f1bfa612ac9dd1 [^]

Fixes ISSUE-48760: [Organization Variables] Unhandled rejection error when introducing an incorrect date & cancelling

When editing an organization variable date field ("Initial Date" OR "End Date"), if user introduces a non-valid date & cancels the edition, an Unhandled rejection full screen error is displayed after clicking in the cancel button.

After clicking in this button, we don't need to do extra validations. So to fix this, we put a condition about the current variable in the function doExtraValidations in orgVariable.jsx.

---
M web-jspack/org.openbravo.core2/src/components/OrgVariables/OrgVariables.jsx
---

- Issue History
Date Modified Username Field Change
2022-03-10 11:12 andre_montenegro New Issue
2022-03-10 11:12 andre_montenegro Assigned To => Triage Platform Base
2022-03-10 11:12 andre_montenegro File Added: ErrorScreen_OrganizationVariables.png
2022-03-10 11:12 andre_montenegro Triggers an Emergency Pack => No
2022-05-16 15:38 cberner Assigned To Triage Platform Base => meriem_azaf
2022-05-18 09:10 andre_montenegro Steps to Reproduce Updated View Revisions
2022-05-18 17:01 hgbot Note Added: 0137454
2022-06-06 00:06 hgbot Note Added: 0138077
2022-06-06 00:06 hgbot Resolution open => fixed
2022-06-06 00:06 hgbot Status new => closed
2022-06-06 00:06 hgbot Note Added: 0138078


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker