Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021568Openbravo ERPA. Platformpublic2012-09-06 13:062012-09-26 17:30
AugustoMauch 
AugustoMauch 
immediateminoralways
closedfixed 
5
 
3.0MP153.0MP15 
marvintm
Core
Production - QA Approved
2012-08-21
https://code.openbravo.com/erp/devel/pi/rev/cc375f70dce943e8a08c0b92c8caf7cf40941878 [^]
No
0021568: Eclipse errors when using the Product selector in the Sales Order window
When text is entered in the Lines tab of the Sales Order window, the following error appears in the Eclipse log:

485 [http-8080-6] ERROR org.openbravo.userinterface.selector.SelectorDataSourceFilter - Error converting to JSON object: null
java.lang.NullPointerException
    at org.openbravo.userinterface.selector.SelectorDataSourceFilter.verifyPropertyTypes(SelectorDataSourceFilter.java:184)
    at org.openbravo.userinterface.selector.SelectorDataSourceFilter.doFilter(SelectorDataSourceFilter.java:99)
    at org.openbravo.service.datasource.DataSourceServlet.doFetch(DataSourceServlet.java:190)
    at org.openbravo.service.datasource.DataSourceServlet.doPost(DataSourceServlet.java:575)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
...

Even though an error appears, the selector works fine.
- Open the Sales Order window
- Create a new header
- Create a new line in form. Enter text in the Product selector, the error will appear in the Eclipse log
No tags attached.
Issue History
2012-09-06 13:06AugustoMauchNew Issue
2012-09-06 13:06AugustoMauchAssigned To => AugustoMauch
2012-09-06 13:06AugustoMauchModules => Core
2012-09-06 13:08AugustoMauchRegression level => Production - QA Approved
2012-09-06 13:08AugustoMauchRegression date => 2012-08-21
2012-09-06 13:08AugustoMauchRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/cc375f70dce943e8a08c0b92c8caf7cf40941878 [^]
2012-09-06 13:22AugustoMauchClosed by => marvintm
2012-09-06 13:30hgbotCheckin
2012-09-06 13:30hgbotNote Added: 0051905
2012-09-06 13:30hgbotStatusnew => resolved
2012-09-06 13:30hgbotResolutionopen => fixed
2012-09-06 13:30hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6ab1c8f8f009c69f42a5638f72e8f57b9e723606 [^]
2012-09-18 10:43marvintmStatusresolved => closed
2012-09-18 10:43marvintmFixed in Version => 3.0MP15
2012-09-26 17:15hgbotCheckin
2012-09-26 17:15hgbotNote Added: 0052657
2012-09-26 17:15hgbotStatusclosed => resolved
2012-09-26 17:15hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/6ab1c8f8f009c69f42a5638f72e8f57b9e723606 [^] => http://code.openbravo.com/erp/devel/pi/rev/d2d57011a714a45619f4cf38d226cbb78795a77a [^]
2012-09-26 17:18hudsonbotCheckin
2012-09-26 17:18hudsonbotNote Added: 0052696
2012-09-26 17:30gorka_gilStatusresolved => closed

Notes
(0051905)
hgbot   
2012-09-06 13:30   
Repository: erp/devel/pi
Changeset: 6ab1c8f8f009c69f42a5638f72e8f57b9e723606
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Sep 06 13:27:51 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/6ab1c8f8f009c69f42a5638f72e8f57b9e723606 [^]

Fixes issue 21568: Using the Product selector do not cause log errors

The fix used to detect unknown properties was applied twice: to fields that properties that contained the field separator and to fields that did not. It should only have been applied to the fields that do not contain the field separator (if it contains a field separator, we can be confident the property is sent from the Openbravo client).

---
M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/SelectorDataSourceFilter.java
---
(0052657)
hgbot   
2012-09-26 17:15   
Repository: erp/devel/pi
Changeset: d2d57011a714a45619f4cf38d226cbb78795a77a
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Sep 06 13:27:51 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d2d57011a714a45619f4cf38d226cbb78795a77a [^]

Fixes issue 21568: Using the Product selector do not cause log errors

The fix used to detect unknown properties was applied twice: to fields that properties that contained the field separator and to fields that did not. It should only have been applied to the fields that do not contain the field separator (if it contains a field separator, we can be confident the property is sent from the Openbravo client).

---
M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/SelectorDataSourceFilter.java
---
(0052696)
hudsonbot   
2012-09-26 17:18   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/b780e90c6452 [^]

Maturity status: Test