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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0019875
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2012-02-25 22:172012-03-14 10:25
ReportermtaalView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionduplicateFixed in Version3.0MP9
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version3.0MP10
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

0019875: Error shown in console when opening product drop down in sales order line

DescriptionI see this stacktrace in the console when opening a product drop down in sales order line:

ff9cdf33 459350 [http-8080-3] ERROR org.openbravo.userinterface.selector.SelectorDataSourceFilter - Error evaluating filter expression: sun.org.mozilla.javascript.EcmaError: ReferenceError: "e" is not defined. (<Unknown source>#1) in <Unknown source> at line number 1
javax.script.ScriptException: sun.org.mozilla.javascript.EcmaError: ReferenceError: "e" is not defined. (<Unknown source>#1) in <Unknown source> at line number 1
    at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:179)
    at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:195)
    at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
    at org.openbravo.client.application.ParameterUtils.getJSExpressionResult(ParameterUtils.java:161)
    at org.openbravo.userinterface.selector.SelectorDataSourceFilter.applyFilterExpression(SelectorDataSourceFilter.java:210)
    at org.openbravo.userinterface.selector.SelectorDataSourceFilter.doFilter(SelectorDataSourceFilter.java:93)
    at org.openbravo.service.datasource.DataSourceServlet.doFetch(DataSourceServlet.java:187)
    at org.openbravo.service.datasource.DataSourceServlet.doPost(DataSourceServlet.java:571)
    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:422)
    at org.openbravo.client.kernel.BaseKernelServlet.callServiceInSuper(BaseKernelServlet.java:87)
    at org.openbravo.client.kernel.BaseKernelServlet.service(BaseKernelServlet.java:63)
    at org.openbravo.service.datasource.DataSourceServlet.service(DataSourceServlet.java:119)
    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.activiti.OBActivitiRequestFilter$1.doAction(OBActivitiRequestFilter.java:68)
    at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46)
    at org.openbravo.activiti.OBActivitiRequestFilter.doFilter(OBActivitiRequestFilter.java:81)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    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:298)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:679)
Caused by: sun.org.mozilla.javascript.EcmaError: ReferenceError: "e" is not defined. (<Unknown source>#1)
    at sun.org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3785)
    at sun.org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3763)
    at sun.org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3848)
    at sun.org.mozilla.javascript.ScriptRuntime.name(ScriptRuntime.java:1781)
    at sun.org.mozilla.javascript.gen._Unknown_source__12._c_script_0(<Unknown source>:1)
    at sun.org.mozilla.javascript.gen._Unknown_source__12.call(<Unknown source>)
    at sun.org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
    at com.sun.script.javascript.RhinoScriptEngine$1.superDoTopCall(RhinoScriptEngine.java:112)
    at com.sun.script.javascript.RhinoScriptEngine$1.doTopCall(RhinoScriptEngine.java:105)
    at sun.org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3178)
    at sun.org.mozilla.javascript.gen._Unknown_source__12.call(<Unknown source>)
    at sun.org.mozilla.javascript.gen._Unknown_source__12.exec(<Unknown source>)
    at sun.org.mozilla.javascript.Context.evaluateReader(Context.java:1142)
    at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:169)
    ... 47 more
Steps To ReproduceGo to sales order and then lines
Open a line in edit mode
Put the focus on the product field
click the drop down icon
The product list is shown but in the console I see a stack trace
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 0019913 closedVictorVillar Revert changes in product selector 

-  Notes
(0045704)
AugustoMauch (administrator)
2012-03-02 13:49

This issue is a duplicate of issue 19844
(0046015)
AugustoMauch (administrator)
2012-03-02 16:01

This issue is not resolved not a duplicate. It was closed by mistake.
(0046375)
AugustoMauch (administrator)
2012-03-14 10:25

The fix of issue 19913 resolved issue 19875 too. There was an invalid filter expression in the selector of the Product reference, which caused an exception when the user opened the selector. This filter expression has been removed in the fix of issue 19917, so the exception is no longer happening.

- Issue History
Date Modified Username Field Change
2012-02-25 22:17 mtaal New Issue
2012-02-25 22:17 mtaal Assigned To => AugustoMauch
2012-02-25 22:17 mtaal Modules => Core
2012-03-01 10:25 alostale Target Version 3.0MP9 => 3.0MP10
2012-03-02 13:48 AugustoMauch Relationship added depends on 0019844
2012-03-02 13:48 AugustoMauch Relationship deleted depends on 0019844
2012-03-02 13:48 AugustoMauch Relationship added duplicate of 0019844
2012-03-02 13:49 AugustoMauch Note Added: 0045704
2012-03-02 13:49 AugustoMauch Status new => closed
2012-03-02 13:49 AugustoMauch Resolution open => duplicate
2012-03-02 16:01 AugustoMauch Note Added: 0046015
2012-03-02 16:01 AugustoMauch Status closed => new
2012-03-02 16:01 AugustoMauch Resolution duplicate => open
2012-03-02 16:02 AugustoMauch Relationship deleted 0019844
2012-03-14 10:25 AugustoMauch Relationship added duplicate of 0019913
2012-03-14 10:25 AugustoMauch Note Added: 0046375
2012-03-14 10:25 AugustoMauch Status new => closed
2012-03-14 10:25 AugustoMauch Resolution open => duplicate
2012-03-14 10:25 AugustoMauch Fixed in Version => 3.0MP9


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker