Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0030808 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2015-09-09 18:29 | 2016-10-31 17:43 | |||
Reporter | mfuertes | View Status | public | |||||
Assigned To | platform | |||||||
Priority | normal | Resolution | open | Fixed in Version | 3.0PR17Q1 | |||
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 | caristu | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0030808: Hook call twice in onChange function javascript | |||||||
Description | It seems that openbravo is calling the hook (the onchange function) twice when changing a select field in form view. | |||||||
Steps To Reproduce | With developers tools in livebuilds add breakpoint in line 29514 (this line my change, search for: "if (view && OB.OnChangeRegistry.hasOnChange(view.tabId, item))") When changing a select, chrome will reach that point twice. (the client has a popup that is showing twice) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0080328) alostale (manager) 2015-09-11 09:19 |
Please, can you provide more detailed steps to reproduce based on a real case rather than on debugging the code? What does "When changing a select" mean? |
(0080333) mfuertes (developer) 2015-09-11 10:10 |
Select as an html select, a field with a dropdown list in where you select an option. For real code, take the tiquet from support. The client is having issues because has added a javascript in a field (Proveedor Preferencial) to trigger an event on field change, and it seems that its triggering the hook twice, as its diplaying the confirmation dialog twice. It only occcurs when the value on the field is changed, I mean, if you click and select the same value it only triggers it once. So to reproduce it in livebuild I monitorized for a field (an html select field with onChange event like the one in the tiquet) the same exact part of the generated javascript code to see when the trigger is called, as I havent actully added javascript, and for a field change its reaching the "if" statement that decides whether to trigger the hook or not, twice. |
Issue History | |||
Date Modified | Username | Field | Change |
2015-09-09 18:29 | mfuertes | New Issue | |
2015-09-09 18:29 | mfuertes | Assigned To | => platform |
2015-09-09 18:29 | mfuertes | Modules | => Core |
2015-09-09 18:29 | mfuertes | Triggers an Emergency Pack | => No |
2015-09-11 09:19 | alostale | Note Added: 0080328 | |
2015-09-11 09:19 | alostale | Assigned To | platform => mfuertes |
2015-09-11 09:19 | alostale | Status | new => feedback |
2015-09-11 10:10 | mfuertes | Note Added: 0080333 | |
2015-09-14 12:46 | mfuertes | Status | feedback => new |
2015-09-14 13:21 | mfuertes | Assigned To | mfuertes => platform |
2015-11-11 11:31 | alostale | Status | new => acknowledged |
2015-11-11 11:37 | alostale | Priority | high => normal |
2016-10-31 17:42 | caristu | Relationship added | has duplicate 0034200 |
2016-10-31 17:42 | caristu | Status | acknowledged => scheduled |
2016-10-31 17:43 | caristu | Review Assigned To | => caristu |
2016-10-31 17:43 | caristu | Status | scheduled => closed |
2016-10-31 17:43 | caristu | Fixed in Version | => 3.0PR17Q1 |
Copyright © 2000 - 2009 MantisBT Group |