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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013942
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2010-07-12 12:522010-07-14 04:43
ReporteriperdomoView Statuspublic 
Assigned Toiperdomo 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision58227be84239
ProjectionnoneETAnoneTarget Version2.50MP20
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_15
OS Version2.6.30-gentoo-r5Database version8.3.8Ant version1.7.1
Product Version2.50MP19SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0013942: Error stack trace when enabling Heartbeat on fresh install

DescriptionWhen you enable heartbeat in a fresh install (install.source, or start up the virtual appliance the first time) you get an error stack trace for an invalid value for a request parameter.

261303 [http-8080-3] ERROR org.openbravo.base.VariablesBase - Input:
not accepted by filter: org.openbravo.base.filter.ValueListFilter@128c5c03
java.lang.Throwable
    at org.openbravo.base.VariablesBase.filterRequest(VariablesBase.java:119)
    at
org.openbravo.base.VariablesBase.getStringParameter(VariablesBase.java:891)
    at
org.openbravo.base.VariablesBase.getStringParameter(VariablesBase.java:665)
    at
org.openbravo.base.VariablesBase.getStringParameter(VariablesBase.java:819)
    at
org.openbravo.erpCommon.ad_process.TestHeartbeat.doPost(TestHeartbeat.java:78)
    at org.openbravo.base.HttpBaseServlet.doGet(HttpBaseServlet.java:287)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at
org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:225)
    at
org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:415)
    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.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:101)
    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:852)
    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:636)
Steps To Reproduce* Run install.source
* Enable heartbeat from the popup window
* Check the application log
Proposed SolutionThe behavior remains the same, but we should remove this error from the log
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0029225)
hgbot (developer)
2010-07-12 12:55

Repository: erp/devel/pi
Changeset: 58227be842394f0a82107bb338c09ef18ee3c2e4
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Mon Jul 12 12:54:36 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/58227be842394f0a82107bb338c09ef18ee3c2e4 [^]

Fixes issue 13942: Added blank value as allowed value for the parameter
The blank value is passed for a request parameter when posting data from the
popup window to the servlet. The functionality remains the same.

---
M src/org/openbravo/erpCommon/ad_process/TestHeartbeat.java
---
(0029265)
shuehner (administrator)
2010-07-13 15:52

Tested via live.builds (pgsql) now enabling heartbeat on a new install does not produce the error anymore as the filter was relaxed to also allow an empty value. Enabling heartbeat via popup is working without error now, and also enabling & disabling via Heartbeat configuration window are still working.
(0029283)
hudsonbot (developer)
2010-07-14 04:43

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/58227be84239 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/2a91111beef4 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17878.obx [^]

- Issue History
Date Modified Username Field Change
2010-07-12 12:52 iperdomo New Issue
2010-07-12 12:52 iperdomo Assigned To => iperdomo
2010-07-12 12:52 iperdomo Status new => scheduled
2010-07-12 12:52 iperdomo fix_in_branch => pi
2010-07-12 12:55 hgbot Checkin
2010-07-12 12:55 hgbot Note Added: 0029225
2010-07-12 12:55 hgbot Status scheduled => resolved
2010-07-12 12:55 hgbot Resolution open => fixed
2010-07-12 12:55 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/58227be842394f0a82107bb338c09ef18ee3c2e4 [^]
2010-07-13 15:52 shuehner Note Added: 0029265
2010-07-13 15:52 shuehner Status resolved => closed
2010-07-14 00:00 anonymous sf_bug_id 0 => 3029178
2010-07-14 04:43 hudsonbot Checkin
2010-07-14 04:43 hudsonbot Note Added: 0029283


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker