Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0048287 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] Core | minor | have not tried | 2021-12-20 16:47 | 2021-12-21 16:00 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0048287: Need to click clear button twice to clear validated form fields | |||||||
Description | Need to click clear button twice to clear validated form fields | |||||||
Steps To Reproduce | 1) 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | timeConsumingValidation.diff [^] (735 bytes) 2021-12-20 19:05 [Show Content] | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
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 |