Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017202Openbravo ERPA. Platformpublic2011-05-17 14:482011-05-26 07:44
psarobe 
mtaal 
immediatemajoralways
closedfixed 
5
pi 
3.0RC73.0RC7 
Core
No
0017202: Grid gets broken after entering two sales orders followed. IE9 and FF4
When you enter a sales order, complete it and then you create another one, the grid is corrupted and it doesn't work

15:04:41 [http-8080-3] ERROR org.openbravo.client.application.window.FormInitializationComponent - Couldn't parse callout response. The parsed response was: var calloutName='SL_Order_DocType';

var respuesta = new Array(, new Array("inpinvoicerule", new Array(new Array("D", "After Delivery", "true"),
new Array("O", "After Order Delivered", "false"),
new Array("S", "Customer Schedule After Delivery", "false"),
new Array("N", "Do Not Invoice", "false"),
new Array("I", "Immediate", "false"))), new Array("inppaymentrule", "P")
, new Array("inpdeliveryrule", "A")
, new Array("EXECUTE", "displayLogic();")
);
org.mozilla.javascript.EvaluatorException: syntax error (<cmd>#3)
    at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:109)
    at org.mozilla.javascript.DefaultErrorReporter.error(DefaultErrorReporter.java:96)
    at org.mozilla.javascript.Parser.addError(Parser.java:146)
    at org.mozilla.javascript.Parser.reportError(Parser.java:160)
    at org.mozilla.javascript.Parser.primaryExpr(Parser.java:2469)
    at org.mozilla.javascript.Parser.memberExpr(Parser.java:1955)
    at org.mozilla.javascript.Parser.unaryExpr(Parser.java:1813)
    at org.mozilla.javascript.Parser.mulExpr(Parser.java:1742)
    at org.mozilla.javascript.Parser.addExpr(Parser.java:1723)
    at org.mozilla.javascript.Parser.shiftExpr(Parser.java:1703)
    at org.mozilla.javascript.Parser.relExpr(Parser.java:1677)
    at org.mozilla.javascript.Parser.eqExpr(Parser.java:1633)
    at org.mozilla.javascript.Parser.bitAndExpr(Parser.java:1622)
    at org.mozilla.javascript.Parser.bitXorExpr(Parser.java:1611)
    at org.mozilla.javascript.Parser.bitOrExpr(Parser.java:1600)
    at org.mozilla.javascript.Parser.andExpr(Parser.java:1588)
    at org.mozilla.javascript.Parser.orExpr(Parser.java:1576)
    at org.mozilla.javascript.Parser.condExpr(Parser.java:1559)
    at org.mozilla.javascript.Parser.assignExpr(Parser.java:1544)
    at org.mozilla.javascript.Parser.argumentList(Parser.java:1910)
    at org.mozilla.javascript.Parser.memberExpr(Parser.java:1938)
    at org.mozilla.javascript.Parser.unaryExpr(Parser.java:1813)
    at org.mozilla.javascript.Parser.mulExpr(Parser.java:1742)
    at org.mozilla.javascript.Parser.addExpr(Parser.java:1723)
    at org.mozilla.javascript.Parser.shiftExpr(Parser.java:1703)
    at org.mozilla.javascript.Parser.relExpr(Parser.java:1677)
    at org.mozilla.javascript.Parser.eqExpr(Parser.java:1633)
    at org.mozilla.javascript.Parser.bitAndExpr(Parser.java:1622)
    at org.mozilla.javascript.Parser.bitXorExpr(Parser.java:1611)
    at org.mozilla.javascript.Parser.bitOrExpr(Parser.java:1600)
    at org.mozilla.javascript.Parser.andExpr(Parser.java:1588)
    at org.mozilla.javascript.Parser.orExpr(Parser.java:1576)
    at org.mozilla.javascript.Parser.condExpr(Parser.java:1559)
    at org.mozilla.javascript.Parser.assignExpr(Parser.java:1544)
    at org.mozilla.javascript.Parser.variables(Parser.java:1394)
    at org.mozilla.javascript.Parser.statementHelper(Parser.java:1108)
    at org.mozilla.javascript.Parser.statement(Parser.java:707)
    at org.mozilla.javascript.Parser.parse(Parser.java:401)
    at org.mozilla.javascript.Parser.parse(Parser.java:338)
    at org.mozilla.javascript.Context.compileImpl(Context.java:2368)
    at org.mozilla.javascript.Context.compileString(Context.java:1359)
    at org.mozilla.javascript.Context.compileString(Context.java:1348)
    at org.mozilla.javascript.Context.evaluateString(Context.java:1101)
    at org.openbravo.client.application.window.FormInitializationComponent.parseCalloutResponse(FormInitializationComponent.java:1231)
    at org.openbravo.client.application.window.FormInitializationComponent.runCallouts(FormInitializationComponent.java:1039)
    at org.openbravo.client.application.window.FormInitializationComponent.executeCallouts(FormInitializationComponent.java:955)
    at org.openbravo.client.application.window.FormInitializationComponent.execute(FormInitializationComponent.java:224)
    at org.openbravo.client.kernel.BaseActionHandler.execute(BaseActionHandler.java:72)
    at org.openbravo.client.kernel.KernelServlet.processActionRequest(KernelServlet.java:197)
    at org.openbravo.client.kernel.KernelServlet.doGet(KernelServlet.java:104)
    at org.openbravo.client.kernel.KernelServlet.doPost(KernelServlet.java:181)
    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:456)
    at org.openbravo.client.kernel.BaseKernelServlet.callServiceInSuper(BaseKernelServlet.java:89)
    at org.openbravo.client.kernel.BaseKernelServlet.service(BaseKernelServlet.java:65)
    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: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:619)
1. Login as Openbravo/openbravo
2. Change the role to QA Admin testing
3. Go to sales order and create one in grid view: Standard Order and customer A
4. Create a line. Product FGA
5. From the line, complete the order
6. Move to the header and click new in grid.

a)Notice the first focus is not in the Transaction type but in partner address
b)Notice the transactional document is empty
c)Notice that if you cancel the row and click new again, now the buttons don't change from the row and you still see the form and edit button
No tags attached.
related to defect 0032291 closed NaroaIriarte remove unused ChildTabRecordCounterActionHandler class 
Issue History
2011-05-17 14:48psarobeNew Issue
2011-05-17 14:48psarobeAssigned To => mtaal
2011-05-17 14:48psarobeModules => Core
2011-05-17 14:49psarobeStatusnew => scheduled
2011-05-17 14:49psarobefix_in_branch => pi
2011-05-17 17:28psarobefix_in_branchpi =>
2011-05-17 17:28psarobeSummaryIE9: Grid gets broken after entering two sales orders followed => Grid gets broken after entering two sales orders followed. IE9 and FF4
2011-05-17 17:28psarobeDescription Updatedbug_revision_view_page.php?rev_id=2031#r2031
2011-05-17 19:03hgbotCheckin
2011-05-17 19:03hgbotNote Added: 0037108
2011-05-17 19:03hgbotStatusscheduled => resolved
2011-05-17 19:03hgbotResolutionopen => fixed
2011-05-17 19:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/149e42c3f67420795d90103ea5014695ed139a88 [^]
2011-05-17 21:05hgbotCheckin
2011-05-17 21:05hgbotNote Added: 0037113
2011-05-17 22:35psarobeNote Added: 0037116
2011-05-17 22:35psarobeStatusresolved => closed
2011-05-17 22:35psarobeFixed in Version => 3.0RC7
2011-05-26 07:44hudsonbotCheckin
2011-05-26 07:44hudsonbotNote Added: 0037482
2011-05-26 07:44hudsonbotCheckin
2011-05-26 07:44hudsonbotNote Added: 0037483
2016-02-19 12:08alostaleRelationship addedrelated to 0032291

Notes
(0037108)
hgbot   
2011-05-17 19:03   
Repository: erp/devel/pi
Changeset: 149e42c3f67420795d90103ea5014695ed139a88
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue May 17 19:02:06 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/149e42c3f67420795d90103ea5014695ed139a88 [^]

Fixed issue 17202. Prevent wrong call to the FIC in SETSESSION mode when a new record is created in the grid.
The problem happened after a process was executed (specifically, after a Sales Order was completed, and when afterwards a new Sales Order was created on grid mode).

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
---
(0037113)
hgbot   
2011-05-17 21:05   
Repository: erp/devel/pi
Changeset: 9c8382863b3b6af99529c91a8c29bc2fe922367d
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue May 17 21:05:00 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9c8382863b3b6af99529c91a8c29bc2fe922367d [^]

Related to issue 17202. Prevent wrong call to the FIC in SETSESSION mode when a new record is created in the grid.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
---
(0037116)
psarobe   
2011-05-17 22:35   
Fixed
(0037482)
hudsonbot   
2011-05-26 07:44   
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/728387046be6 [^]

Maturity status: Test
(0037483)
hudsonbot   
2011-05-26 07:44   
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/728387046be6 [^]

Maturity status: Test