Openbravo Issue Tracking System - Retail Modules
View Issue Details
0027552Retail ModulesSampledatapublic2014-09-08 13:532018-06-26 14:34
adrianromero 
mtaal 
normalmajorhave not tried
closedfixed 
5
 
RR14Q4 
migueldejuana
No
0027552: Characteristics tab in Discounts and Promotions window does not work for White Valley sample data
It is not possible to select a Characteristic value in the window "Discounts and Promotions.

This problem happens only using the sample data for White Valley. With F&B It cannot be reproduced.
In an Openbravo instance with Retail installed and the Retail Sample data installed

* Select the role "The White Valley Group Admin"
* Goto the window "Discounts and Promotions" and go to the tab "Characteristics"
* Create a new record, select a characteristic, and try to select a characteristic value.

The list will be always empty, and the following exception will be sent to the openbravo log.


146448 [http-8080-1] ERROR org.openbravo.service.datasource.TreeDatasourceService - Error on tree datasource
java.lang.NullPointerException
    at org.openbravo.service.datasource.ADTreeDatasourceService.fetchNodeChildren(ADTreeDatasourceService.java:216)
    at org.openbravo.service.datasource.TreeDatasourceService.fetch(TreeDatasourceService.java:284)
    at org.openbravo.service.datasource.DataSourceServlet.doFetch(DataSourceServlet.java:260)
    at org.openbravo.service.datasource.DataSourceServlet.doPost(DataSourceServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:225)
    at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:449)
    at org.openbravo.client.kernel.BaseKernelServlet.callServiceInSuper(BaseKernelServlet.java:92)
    at org.openbravo.client.kernel.BaseKernelServlet.service(BaseKernelServlet.java:63)
    at org.openbravo.service.datasource.DataSourceServlet.service(DataSourceServlet.java:139)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:35)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.client.kernel.KernelFilter$1.doAction(KernelFilter.java:62)
    at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46)
    at org.openbravo.client.kernel.KernelFilter.doFilter(KernelFilter.java:71)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:81)
    at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46)
    at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:103)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:662)
178397 [http-8080-1] DEBUG org.openbravo.database.ConnectionProviderImpl - connection requested
178398 [http-8080-1] DEBUG org.openbravo.database.ConnectionProviderImpl - connection established
178398 [http-8080-1] DEBUG org.openbravo.dat
No tags attached.
related to feature request 0027205 closed ioritzCia Openbravo ERP Discounts and Promotions should be able to filter by product characteristics 
related to feature request 0027482 closed ioritzCia Retail Modules Discounts and Promotions should be able to filter by product characteristics 
png Captura de pantalla de 2014-09-08 13:51:42.png (150,067) 2014-09-08 13:56
https://issues.openbravo.com/file_download.php?file_id=7217&type=bug
png
Issue History
2014-09-08 13:53adrianromeroNew Issue
2014-09-08 13:53adrianromeroAssigned To => mtaal
2014-09-08 13:53adrianromeroTriggers an Emergency Pack => No
2014-09-08 13:53adrianromeroDescription Updatedbug_revision_view_page.php?rev_id=6536#r6536
2014-09-08 13:53adrianromeroSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=6538#r6538
2014-09-08 13:54adrianromeroRelationship addedrelated to 0027205
2014-09-08 13:56adrianromeroFile Added: Captura de pantalla de 2014-09-08 13:51:42.png
2014-09-08 13:57adrianromeroDescription Updatedbug_revision_view_page.php?rev_id=6539#r6539
2014-09-08 16:07adrianromeroRelationship addedrelated to 0027482
2014-09-22 16:21mtaalTarget VersionRR14Q4 =>
2014-09-22 17:04mtaalTarget Version => RR14Q4
2014-10-01 14:40mtaalTarget VersionRR14Q4 =>
2014-10-02 01:03hgbotCheckin
2014-10-02 01:03hgbotNote Added: 0070635
2014-10-02 01:03hgbotStatusnew => resolved
2014-10-02 01:03hgbotResolutionopen => fixed
2014-10-02 01:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/05c454121d436b68cf05b4c6cb5b308867bb1b08 [^]
2014-10-02 16:01migueldejuanaReview Assigned To => migueldejuana
2014-10-02 16:01migueldejuanaNote Added: 0070665
2014-10-02 16:01migueldejuanaStatusresolved => closed
2014-10-02 16:01migueldejuanaFixed in Version => RR14Q4
2018-06-26 11:37hgbotCheckin
2018-06-26 11:37hgbotNote Added: 0105398
2018-06-26 11:37hgbotStatusclosed => resolved
2018-06-26 11:37hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/05c454121d436b68cf05b4c6cb5b308867bb1b08 [^] => http://code.openbravo.com/retail/backports/3.0RR18Q2.1/modules/org.openbravo.test.mobile.sampledata/rev/05c454121d436b68cf05b4c6cb5b308867bb1b08 [^]
2018-06-26 14:34gorka_gilStatusresolved => closed
2018-06-26 14:34gorka_gilFixed in SCM revisionhttp://code.openbravo.com/retail/backports/3.0RR18Q2.1/modules/org.openbravo.test.mobile.sampledata/rev/05c454121d436b68cf05b4c6cb5b308867bb1b08 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/05c454121d436b68cf05b4c6cb5b308867bb1b08 [^]
2018-06-26 14:44gorka_gilNote Deleted: 0105398

Notes
(0070635)
hgbot   
2014-10-02 01:03   
Repository: erp/pmods/org.openbravo.retail.sampledata
Changeset: 05c454121d436b68cf05b4c6cb5b308867bb1b08
Author: Salvador Zapata <salvador.zapata <at> gmail.com>
Date: Wed Oct 01 20:03:25 2014 -0300
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/05c454121d436b68cf05b4c6cb5b308867bb1b08 [^]

Fixed issue 27552: Tree was referencing the wrong table

---
M referencedata/sampledata/The_White_Valley_Group/AD_TREE.xml
---
(0070665)
migueldejuana   
2014-10-02 16:01   
Tested and reviewed in 7df701d05751