Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0030316 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] A. Platform | minor | always | 2015-07-02 09:46 | 2015-07-06 17:05 | |||
Reporter | ngarcia | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR15Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | c95251b3e0b5 | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q3 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | AugustoMauch | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | 2014-08-24 | |||||||
Regression introduced in release | 3.0PR14Q4 | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/976a64153145b468099f13d78289ad45b4fb06c7 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0030316: Reference with Search parent reference (old selector) is not working under some circumstances | |||||||
Description | Reference with Search parent reference (old selector) is not working under some circumstances | |||||||
Steps To Reproduce | As system admin role: Add Name in Display Field field (Defined Selector tab) for the Product reference As group admin role: Create a Sales Order Add a line, select one product in the Product selector and check the following error is shown (Developers tools): Uncaught TypeError: Cannot read property 'replace' of undefined As a consequence, the callout is not launched | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0078673) hgbot (developer) 2015-07-06 12:58 |
Repository: erp/backports/3.0PR15Q3 Changeset: c95251b3e0b52ad32dd9ef146762dc3e98b21046 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Mon Jul 06 11:20:55 2015 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR15Q3/rev/c95251b3e0b52ad32dd9ef146762dc3e98b21046 [^] fixed bug 30316: selectors with display field property fail They failed in case the display field property was not in the main property but in a referenced one. In this case, the property was tried to be obtained from the record object in an incorrect manner (path to the referred entity was removed). The fix preserves path to referred entity and checks for not null value before doing replacements in the string. --- M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js --- |
(0078683) AugustoMauch (administrator) 2015-07-06 17:05 |
Code reviewed and verified in [1]@c95251b3e0b5 [1] https://code.openbravo.com/erp/backports/3.0PR15Q3 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2015-07-06 11:13 | alostale | Type | defect => backport |
2015-07-06 11:13 | alostale | Target Version | => 3.0PR15Q3 |
2015-07-06 11:35 | alostale | Review Assigned To | => AugustoMauch |
2015-07-06 12:58 | hgbot | Checkin | |
2015-07-06 12:58 | hgbot | Note Added: 0078673 | |
2015-07-06 12:58 | hgbot | Status | scheduled => resolved |
2015-07-06 12:58 | hgbot | Resolution | open => fixed |
2015-07-06 12:58 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR15Q3/rev/c95251b3e0b52ad32dd9ef146762dc3e98b21046 [^] |
2015-07-06 17:05 | AugustoMauch | Note Added: 0078683 | |
2015-07-06 17:05 | AugustoMauch | Status | resolved => closed |
2015-07-06 17:05 | AugustoMauch | Fixed in Version | => 3.0PR15Q3 |
Copyright © 2000 - 2009 MantisBT Group |