Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032480
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2016-03-15 13:312022-02-01 08:05
ReporterinigosanchezView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0032480: NPE is thrown if filter of property column is used.

DescriptionNPE 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 Reproduce1.- 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)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker