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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048287
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Coreminorhave not tried2021-12-20 16:472021-12-21 16:00
ReportercaristuView Statuspublic 
Assigned Tocaristu 
PriorityhighResolutionfixedFixed 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

0048287: Need to click clear button twice to clear validated form fields

DescriptionNeed to click clear button twice to clear validated form fields
Steps To Reproduce1) Apply the attached patch into the pos2 module to simulate a time consuming field validation
2) Login in pos2
3) Go to the customers window, click in "New Customer" to open the form
4) Move to any field, for example to the "Email" field and enter a value
5) Click on the "x" button to clear the content. ERROR-> Note that the field is not cleared. We need to click on it a second time to clear the field.
TagsNo tags attached.
Attached Filesdiff file icon timeConsumingValidation.diff [^] (735 bytes) 2021-12-20 19:05 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0047232 closedjarmendariz JIRA 2057: CRM connector focus changing and validations 
depends on backport 0048224TAP closedcaristu JIRA 2552 - Necessary to click twice when wanting to delete email on new client screen 

-  Notes
(0133873)
hgbot (developer)
2021-12-21 11:39

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/682 [^]
(0133878)
hgbot (developer)
2021-12-21 16:00

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 6cc8559bca5cd0b4713914ce3dd11cb600779693
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 21-12-2021 14:59:26
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/6cc8559bca5cd0b4713914ce3dd11cb600779693 [^]

fixes ISSUE-48287: Need to click clear button twice to clear validated form fields

  This problem was caused because the field was being validated when
clicking on the clear button. We already had code to avoid this case in
on blur, but the check if the clear button is the one retrieving the
focus was incorrect.

---
M web-jspack/org.openbravo.core2/src/components/Form/BaseForm.jsx
---
(0133879)
hgbot (developer)
2021-12-21 16:00

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

- Issue History
Date Modified Username Field Change
2021-12-20 16:47 caristu New Issue
2021-12-20 16:47 caristu Assigned To => Triage Platform Base
2021-12-20 16:47 caristu Triggers an Emergency Pack => No
2021-12-20 16:48 caristu Relationship added blocks 0048224
2021-12-20 16:50 caristu Relationship added related to 0047232
2021-12-20 16:50 caristu Assigned To Triage Platform Base => caristu
2021-12-20 16:50 caristu Status new => acknowledged
2021-12-20 16:53 caristu Relationship deleted blocks 0048224
2021-12-20 16:53 caristu Relationship added depends on 0048224
2021-12-20 19:05 caristu File Added: timeConsumingValidation.diff
2021-12-21 11:39 hgbot Note Added: 0133873
2021-12-21 16:00 hgbot Resolution open => fixed
2021-12-21 16:00 hgbot Status acknowledged => closed
2021-12-21 16:00 hgbot Note Added: 0133878
2021-12-21 16:00 hgbot Note Added: 0133879


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker