Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006109Openbravo ERP09. Financial managementpublic2008-11-20 16:232008-12-19 16:09
networkb 
rafaroda 
immediateminoralways
closedout of date 
30
2.40 
 
OBPS
Core
No
0006109: "Request parameter required: inpcAcctschemaId" appears when several navigation is done in Accounting schema
In Accounting schema, if you navigate for all tabs (from the first one to the last one (crossing all tabs) and back to the first one), "Request parameter required: inpcAcctschemaId" appears.

see attached file
1. Go to Accounting schema window
2. Go to Account Schema element tab
3. Go to Account Schema tables tab
4. Go to General ledger tab
5. Go to Defaults tab
6. Back to General Ledger tab
7. Back to Account Schema tables tab
8. Back to Account Schema element tab. An error appears
No tags attached.
related to defect 0005227 closed cromero Cannot move from Accounting Schema >> General Ledger to sister tabs 
related to backport 0005944 closed eduardo_Argal error to create a new element in account schema general ledger 
jpg 1.jpg (34,800) 2008-11-20 16:23
https://issues.openbravo.com/file_download.php?file_id=446&type=bug
jpg

png difference-tag-branch-240.png (83,423) 2008-12-19 16:07
https://issues.openbravo.com/file_download.php?file_id=588&type=bug
png

txt issue-0006109-HTML-difference.txt (1,653) 2008-12-19 16:07
https://issues.openbravo.com/file_download.php?file_id=589&type=bug
Issue History
2008-11-20 16:23networkbNew Issue
2008-11-20 16:23networkbAssigned To => rafaroda
2008-11-20 16:23networkbsf_bug_id0 => 2317784
2008-11-20 16:23networkbFile Added: 1.jpg
2008-11-20 16:23networkbOBNetwork customer => Yes
2008-11-20 16:23networkbRegression testing => No
2008-11-20 16:24networkbIssue Monitored: networkb
2008-11-20 16:56rafarodaNote Added: 0010456
2008-11-20 16:56rafarodaAssigned Torafaroda => alostale
2008-11-20 16:56rafarodaStatusnew => scheduled
2008-11-20 16:56rafarodaTypedefect => backport
2008-11-20 16:56rafarodafix_in_branch => 2.40
2008-11-21 17:26rafarodaNote Added: 0010516
2008-11-21 17:26rafarodaAssigned Toalostale => rafaroda
2008-11-21 17:26rafarodaStatusscheduled => feedback
2008-11-24 16:38rafarodaRelationship addedrelated to 0005227
2008-11-25 12:25pjuvaraAssigned Torafaroda => pheenan
2008-11-25 12:26pjuvaraNote Added: 0010627
2008-11-25 12:31pjuvaraNote Added: 0010629
2008-11-25 12:31pjuvaraTypebackport => defect
2008-11-25 12:31pjuvarafix_in_branch2.40 =>
2008-11-26 16:02pheenanNote Added: 0010717
2008-11-27 19:20pnudingIssue Monitored: pnuding
2008-12-10 06:02pjuvaraNote Added: 0011103
2008-12-10 10:11pheenanAssigned Topheenan => rafaroda
2008-12-15 09:22rafarodaNote Added: 0011339
2008-12-19 16:07rafarodaRelationship addedrelated to 0005944
2008-12-19 16:07rafarodaFile Added: difference-tag-branch-240.png
2008-12-19 16:07rafarodaFile Added: issue-0006109-HTML-difference.txt
2008-12-19 16:09rafarodaStatusfeedback => closed
2008-12-19 16:09rafarodaNote Added: 0011605
2008-12-19 16:09rafarodaResolutionopen => out of date

Notes
(0010456)
rafaroda   
2008-11-20 16:56   
Only able to reproduce in 2.40/Oracle with log error:
16:49:40 [ajp-8009-6] ERROR org.openbravo.erpWindows.AccountingSchema.Defaults - Error captured: javax.servlet.ServletException: Request parameter required: inpcAcctschemaId


Unable to reproduce in 2.40/PostgreSQL nor in trunk/PotgreSQL/Oracle.
(0010516)
rafaroda   
2008-11-21 17:26   
This issue seems to be very random depending on the environment. Some feedback is still required.
(0010627)
pjuvara   
2008-11-25 12:26   
Phil - I am assigning this to you while Rafa is out.
(0010629)
pjuvara   
2008-11-25 12:31   
This was logged as a backport for a defect that was already closed as unable to reproduce.
That is not correct.

Let's treat this as an independent issue.
(0010717)
pheenan   
2008-11-26 16:02   
Despite several people looking at this it is not possible to reproduce this issue. Egoitz is to provide the url to connect to the instance and view the logs in order to resolve this issue.

Has been checked in several environments without any luck reproducing this error.
(0011103)
pjuvara   
2008-12-10 06:02   
Reminder sent to: networkb

Networkb: two weeks have gone by since the last update.
Please provide the requested information, otherwise we will need to reject this issue.
(0011339)
rafaroda   
2008-12-15 09:22   
This issue is still pending for an environment where it reproduces 100%.
(0011605)
rafaroda   
2008-12-19 16:09   
This bug only reproduces in tag 2.40 following these steps:
1) Log in as Openbravo Admin.
2) Go to 'Financial Management || Accounting || Setup || Accounting Schema || Accounting Schema'
3) Enter into 'General Ledger' tab in Grid mode..
4) If there is any record, delete it.
5) Go to any of the tabs of the same level: 'Defaults', 'Account Schema Tables', ...

You get the following error: Request parameter required: inpcAcctschemaId

javax.servlet.ServletException: Request parameter required: inpcAcctschemaId
    at org.openbravo.base.VariablesBase.getGlobalVariable(VariablesBase.java:127)
    at org.openbravo.base.VariablesBase.getRequiredGlobalVariable(VariablesBase.java:280)
    at org.openbravo.erpWindows.AccountingSchema.AccountSchemaTables.doPost(AccountSchemaTables.java:92)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:134)
    at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:257)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:54)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:27)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
    at java.lang.Thread.run(Thread.java:595)

This bug still reproduces in Openbravo ERP 2.40 MP1 but not in the current Openbravo ERP 2.40 maintenance branch. This is probably due to the fix done for issue 5944 [1] (see attached image comparing 2.40 tag and current 2.40 branch and text file showing differences in the code generated). Issue 5944 was fixed in revision 10409 [2] and will be included in Openbravo ERP 2.40 MP2.

So, this issue will be closed since there is no change required.

[1] https://issues.openbravo.com/view.php?id=5944 [^]
[2] https://dev.openbravo.com/websvn/openbravo/?rev=10409&sc=1 [^]