Openbravo Issue Tracking System - Openbravo ERP  | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0032480 | Openbravo ERP | A. Platform | public | 2016-03-15 13:31 | 2022-02-01 08:05 | 
| Reporter | inigosanchez | ||||
| Assigned To | Triage Platform Base | ||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | 
| Status | acknowledged | Resolution | open | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Merge Request Status | |||||
| Review Assigned To | |||||
| OBNetwork customer | No | ||||
| Web browser | |||||
| Modules | Core | ||||
| Support ticket | |||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0032480: NPE is thrown if filter of property column is used. | ||||
| Description | NPE is thrown if filter of property column is used. In createSetQueryService() method, there is a piece of code like this: final Entity distinctEntity = distinctProperty.getTargetEntity(); In this case it is not possible to reach target entity because distinctProperty is 'ADField.property' and 'property' uses SelectorFieldPropertyDataSource.  | ||||
| Steps To Reproduce | 1.- Log in ERP as System Administrator. 2.- Go to Windows, Tabs, and Fields window and select 'Windows, Tabs, and Fields' record. 3.- Go to Tab subtab and select 'Tab' record. 4.- Go to Field subtab and type any text value in the filter of Property column. Null pointer exception is thrown: [http-8080-6] ERROR org.openbravo.service.json.DefaultJsonDataService - java.lang.NullPointerException at org.openbravo.service.json.DefaultJsonDataService.createSetQueryService(DefaultJsonDataService.java:433) at org.openbravo.service.json.DefaultJsonDataService.createSetQueryService(DefaultJsonDataService.java:321) at org.openbravo.service.json.DefaultJsonDataService.fetch(DefaultJsonDataService.java:150) at org.openbravo.service.datasource.DefaultDataSourceService.fetch(DefaultDataSourceService.java:74)  | ||||
| Proposed Solution | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2016-03-15 13:31 | inigosanchez | New Issue | |||
| 2016-03-15 13:31 | inigosanchez | Assigned To | => platform | ||
| 2016-03-15 13:31 | inigosanchez | OBNetwork customer | => No | ||
| 2016-03-15 13:31 | inigosanchez | Modules | => Core | ||
| 2016-03-15 13:31 | inigosanchez | Triggers an Emergency Pack | => No | ||
| 2016-03-18 08:28 | alostale | Status | new => acknowledged | ||
| 2022-02-01 08:05 | alostale | Assigned To | platform => Triage Platform Base | ||
| There are no notes attached to this issue. |