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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046888
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSminorhave not tried2021-05-28 12:202021-06-11 07:28
ReportercaristuView Statuspublic 
Assigned Tocaristu 
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

0046888: Focus is lost in form if on change function takes some time to be completed

DescriptionFocus is lost in form if on change function takes some time to be completed
Steps To Reproduce0. Apply the provided patch in the pos2 module which simulates a time costing operation in the on change function
1. Login as vallblanca in VBS-2
2. Go to "Customers" option and then to "New Customer" option
3. Click the "Name" field
5. Enter any valid value.
6. Click the "Last name" field. Notice that the form is put in read-only mode while the on change function is being completed. This is correct.
7. Once the on change function finishes, the form is enabled again, but the focus on the "Last name" field is lost.
TagsNo tags attached.
Attached Filesdiff file icon reproducer.diff [^] (1,021 bytes) 2021-05-28 12:21 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0046396 closedprakashmurugesan88 [21Q2] When creating a new customer, the second field loses its focus 
depends on defect 0046471 closedjarmendariz JIRA 1594: CRM Connector, focus directly in the field with error 
related to defect 0046889 closedebecerra Extra buttons are displayed in the customer form while on change operation is in progress 

-  Notes
(0129132)
hgbot (developer)
2021-06-07 10:55

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/544 [^]
(0129379)
hgbot (developer)
2021-06-11 07:28

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/544 [^]
(0129380)
hgbot (developer)
2021-06-11 07:28

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 9e8b3edd390fb4abb3f771764bcd41384f5f1762
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 2021-06-11T07:27:23+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/9e8b3edd390fb4abb3f771764bcd41384f5f1762 [^]

fixes ISSUE-46888: avoid losing focus after on change execution

---
M web-jspack/org.openbravo.core2/src/components/Form/BaseForm.jsx
M web-jspack/org.openbravo.core2/src/components/Form/__test__/ConfigurableForm.test.jsx
---

- Issue History
Date Modified Username Field Change
2021-05-28 12:20 caristu New Issue
2021-05-28 12:20 caristu Assigned To => Retail
2021-05-28 12:20 caristu Resolution time => 1625781600
2021-05-28 12:20 caristu Triggers an Emergency Pack => No
2021-05-28 12:20 caristu Issue generated from 0046396
2021-05-28 12:20 caristu Relationship added related to 0046396
2021-05-28 12:20 caristu Relationship added depends on 0046471
2021-05-28 12:21 caristu File Added: reproducer.diff
2021-05-28 12:21 caristu Steps to Reproduce Updated View Revisions
2021-05-28 12:24 caristu Issue cloned 0046889
2021-05-28 12:24 caristu Relationship added related to 0046889
2021-05-28 12:41 caristu Steps to Reproduce Updated View Revisions
2021-06-07 10:55 hgbot Note Added: 0129132
2021-06-07 16:01 caristu Issue cloned 0047012
2021-06-07 16:09 caristu Assigned To Retail => caristu
2021-06-11 07:28 hgbot Note Added: 0129379
2021-06-11 07:28 hgbot Resolution open => fixed
2021-06-11 07:28 hgbot Status new => closed
2021-06-11 07:28 hgbot Note Added: 0129380


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker