Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0018960 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 08. Project and service management | minor | always | 2011-11-02 17:29 | 2011-12-07 11:33 | |||
Reporter | malsasua | View Status | public | |||||
Assigned To | jecharri | |||||||
Priority | high | Resolution | unable to reproduce | Fixed in Version | ||||
Status | closed | Fix in branch | 2.50 | Fixed in SCM revision | ||||
Projection | none | ETA | none | Target Version | 2.50MP37 | |||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||
OS Version | Community Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | Google Chrome | |||||||
Modules | Core | |||||||
Support ticket | 13117 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0018960: error in log file to create a new line in expense sheet window. Error in SE_Expense_Amount callout | |||||||
Description | In expense sheet window, to create a new line, in log file is displayed an error: ERROR org.openbravo.client.application.window.FormInitializationComponent - Couldn't parse callout response. The parsed response was: var calloutName='SE_Expense_Amount'; var respuesta = new Array(new Array("inpexpenseamt", 0.0), new Array("inpconvertedamt", )); 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) | |||||||
Steps To Reproduce | . activate the instance . go to expense sheet window . create new line | |||||||
Proposed Solution | change the line 132 (src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Amount.java): resultado.append(", new Array(\"inpconvertedamt\", " + (convAmount.compareTo(BigDecimal.ZERO) == 0 ? "" : convAmount.toPlainString()) + ")"); to resultado.append(", new Array(\"inpconvertedamt\", " + (convAmount.compareTo(BigDecimal.ZERO) == 0 ? "\"\"" : convAmount.toPlainString()) + ")"); | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0043727) jecharri (viewer) 2011-12-07 11:33 |
It is unable to reproduce in 2.50, it is only for 3.0 |
![]() |
|||
Date Modified | Username | Field | Change |
2011-11-02 17:33 | malsasua | Type | defect => backport |
2011-11-02 17:33 | malsasua | fix_in_branch | => 2.50 |
2011-11-02 17:34 | malsasua | Web browser | Google Chrome => Google Chrome |
2011-11-02 17:34 | malsasua | Target Version | 3.0MP7 => 2.50MP37 |
2011-12-02 17:56 | jonalegriaesarte | Assigned To | jonalegriaesarte => jecharri |
2011-12-07 11:33 | jecharri | Note Added: 0043727 | |
2011-12-07 11:33 | jecharri | Status | scheduled => closed |
2011-12-07 11:33 | jecharri | Resolution | open => unable to reproduce |
Copyright © 2000 - 2009 MantisBT Group |