Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0037842 | Openbravo ERP | A. Platform | public | 2018-02-06 15:53 | 2018-02-22 18:19 |
|
Reporter | vmromanos | |
Assigned To | platform | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR18Q2 | |
Merge Request Status | |
Review Assigned To | caristu |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | Production - Confirmed Stable |
Regression date | 2016-01-28 |
Regression introduced in release | 3.0PR16Q2 |
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/baf72de5b678a308c36d5946af3e143d08625eca [^] |
Triggers an Emergency Pack | No |
|
Summary | 0037842: Callout not triggered when clearing a selector |
Description | A callout is associated to a nullable column with a OBUISEL_Selector Reference.
When the user selects something in the selector the callout is properly triggered. However when the user clears the selector (i.e. no value is selected) and the focus is changed to another field then the callout is NOT triggered.
I have noticed a special case where the callout is properly triggered: when you open a window and then you clear the selector of an existing record (i.e. a record previously saved in the DB) then the callout is properly triggered. |
Steps To Reproduce | Open the Sales Invoice window
- Create a record in the header tab
- In the Lines tab, select a product. Check that the price is updated
- Now give an empty value to the product field. Check that the price is not being emptied (this would have been done had the callout been called) |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0037896 | 3.0PR18Q1 | closed | AugustoMauch | Callout not triggered when clearing a selector | depends on | backport | 0037897 | 3.0PR17Q4.1 | closed | platform | Callout not triggered when clearing a selector | caused by | defect | 0032007 | | closed | caristu | Double request to FIC in CHANGE mode when the form is redrawn by overflow under some circumstances |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2018-02-06 15:53 | vmromanos | New Issue | |
2018-02-06 15:53 | vmromanos | Assigned To | => platform |
2018-02-06 15:53 | vmromanos | Modules | => Core |
2018-02-06 15:53 | vmromanos | Triggers an Emergency Pack | => No |
2018-02-06 17:39 | AugustoMauch | Regression level | => Production - Confirmed Stable |
2018-02-06 17:39 | AugustoMauch | Regression date | => 2016-01-28 |
2018-02-06 17:39 | AugustoMauch | Regression introduced in release | => 3.0PR16Q2 |
2018-02-06 17:39 | AugustoMauch | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/baf72de5b678a308c36d5946af3e143d08625eca [^] |
2018-02-07 13:07 | alostale | Relationship added | caused by 0032007 |
2018-02-09 09:23 | alostale | Priority | normal => immediate |
2018-02-13 10:36 | AugustoMauch | Status | new => scheduled |
2018-02-14 09:41 | hgbot | Checkin | |
2018-02-14 09:41 | hgbot | Note Added: 0102387 | |
2018-02-14 09:41 | hgbot | Status | scheduled => resolved |
2018-02-14 09:41 | hgbot | Resolution | open => fixed |
2018-02-14 09:41 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/2ae5f4a8e8da772e5a62bbaa7b8a51012411ef9e [^] |
2018-02-14 13:31 | AugustoMauch | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=16688#r16688 |
2018-02-15 10:37 | hgbot | Checkin | |
2018-02-15 10:37 | hgbot | Note Added: 0102432 | |
2018-02-15 10:38 | caristu | Review Assigned To | => caristu |
2018-02-15 10:38 | caristu | Note Added: 0102433 | |
2018-02-15 10:38 | caristu | Status | resolved => closed |
2018-02-15 10:38 | caristu | Fixed in Version | => 3.0PR18Q2 |
2018-02-22 18:19 | hudsonbot | Checkin | |
2018-02-22 18:19 | hudsonbot | Note Added: 0102752 | |
2018-02-22 18:19 | hudsonbot | Checkin | |
2018-02-22 18:19 | hudsonbot | Note Added: 0102764 | |
Notes |
|
(0102387)
|
hgbot
|
2018-02-14 09:41
|
|
Repository: erp/devel/pi
Changeset: 2ae5f4a8e8da772e5a62bbaa7b8a51012411ef9e
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Feb 14 09:40:23 2018 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/2ae5f4a8e8da772e5a62bbaa7b8a51012411ef9e [^]
Fixes issue 37842: Callouts are invoked when clearing a non mandatory selector
This changeset [1] fixed a problem where a callout was being called twice when picking a value from a selector. The first request was done properly, but the
second one was done with a null value. The fix consisted in not notifying a change in selector when it was modified from a non-empty value to an empty value.
But as a result, when a non mandatory selector is emptied, callouts are no longer being invoked. The original issue is very hard to reproduce, I have not been
able to find a new way to reproduce it or fix it. To avoid the regression, now the code that was done to fix [1] will only take place if the selector is mandatory,
to make sure that it is possible to give empty values to non-mandatory selectors.
[1] https://code.openbravo.com/erp/devel/pi/rev/baf72de5b678a308c36d5946af3e143d08625eca [^]
---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
|
|
|
(0102432)
|
hgbot
|
2018-02-15 10:37
|
|
Repository: erp/devel/pi
Changeset: cdfabd384be43a9804b0d1de4c4a796949f61a17
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Thu Feb 15 10:36:34 2018 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/cdfabd384be43a9804b0d1de4c4a796949f61a17 [^]
related to issue 37842: update copyright year
---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
|
|
|
|
Code reviewed + tested OK. |
|
|
|
|
|
|
|