Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0036737 | Openbravo ERP | A. Platform | public | 2017-08-28 14:55 | 2017-08-30 10:35 | |||||||
Reporter | JONHM | |||||||||||
Assigned To | caristu | |||||||||||
Priority | high | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | 3.0PR17Q3 | Fixed in Version | 3.0PR17Q3 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | alostale | |||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | Production - Confirmed Stable | |||||||||||
Regression date | 2017-06-21 | |||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/bdca94625dbf67b7e9dbf54f7535f6f22b499b14 [^] | |||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0036737: Error displaying in selector picklist a field based in a non-primitive derived property | |||||||||||
Description | An error is thrown when using a selector that is configured to display a field in the picklist which is based in a non-primitive derived property, i.e., a property resolved through property navigation which points to a reference. | |||||||||||
Steps To Reproduce | - As System Administrator 1) Open window "Reference" and select 'Product (by Price and Warehouse)' 2) Switch to [Defined Selector] tab and then to [Defined Selector Field] subtab 3) Create a new record: Name: Product2 Property: productPrice.product Show in picklist: YES - As F&B International Group Admin 4) Open "Sales Order" window and create a new record from 'Alimentos y Supermercados, S.A' bussiness partner 5) Create a new line and open the 'Product' selector picklist --> It shows the following error in the log: ERROR org.openbravo.service.json.DefaultJsonDataService - java.lang.NullPointerException at org.openbravo.service.json.DataToJsonConverter.toJsonObject(DataToJsonConverter.java:219) at org.openbravo.service.json.DataToJsonConverter.toJsonObjects(DataToJsonConverter.java:144) at org.openbravo.service.json.DefaultJsonDataService.fetch(DefaultJsonDataService.java:301) at org.openbravo.service.datasource.DefaultDataSourceService.fetch(DefaultDataSourceService.java:85) at org.openbravo.service.datasource.DefaultDataSourceService.fetch(DefaultDataSourceService.java:78) at org.openbravo.service.datasource.DataSourceServlet.doFetch(DataSourceServlet.java:285) at org.openbravo.service.datasource.DataSourceServlet.doPost(DataSourceServlet.java:843) at javax.servlet.http.HttpServlet.service(HttpServlet.java:650) ... | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-08-29 12:38 | caristu | Type | defect => backport | |||||||||
2017-08-29 12:38 | caristu | Target Version | => 3.0PR17Q3 | |||||||||
2017-08-29 13:31 | hgbot | Checkin | ||||||||||
2017-08-29 13:31 | hgbot | Note Added: 0098699 | ||||||||||
2017-08-29 13:31 | hgbot | Status | scheduled => resolved | |||||||||
2017-08-29 13:31 | hgbot | Resolution | open => fixed | |||||||||
2017-08-29 13:31 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR17Q3/rev/06c655f757ead59678a6742916542c7145233045 [^] | |||||||||
2017-08-29 13:32 | caristu | Summary | Error displaying in selector picklist a field based a non-primitive derived property => Error displaying in selector picklist a field based on a non-primitive derived property | |||||||||
2017-08-29 13:32 | caristu | Summary | Error displaying in selector picklist a field based on a non-primitive derived property => Error displaying in selector picklist a field based in a non-primitive derived property | |||||||||
2017-08-29 13:32 | caristu | Review Assigned To | => alostale | |||||||||
2017-08-29 13:51 | caristu | Regression level | => Production - Confirmed Stable | |||||||||
2017-08-29 14:36 | caristu | Description Updated | bug_revision_view_page.php?rev_id=15741#r15741 | |||||||||
2017-08-29 14:36 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=15743#r15743 | |||||||||
2017-08-30 10:35 | alostale | Note Added: 0098725 | ||||||||||
2017-08-30 10:35 | alostale | Status | resolved => closed | |||||||||
2017-08-30 10:35 | alostale | Fixed in Version | => 3.0PR17Q3 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|