Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0018960 | Openbravo ERP | 08. Project and service management | public | 2011-11-02 17:29 | 2011-12-07 11:33 | |||||||
| Reporter | malsasua | |||||||||||
| Assigned To | jecharri | |||||||||||
| Priority | high | Severity | minor | Reproducibility | always | |||||||
| Status | closed | Resolution | unable to reproduce | |||||||||
| Platform | OS | 20 | OS Version | Community Appliance | ||||||||
| Product Version | ||||||||||||
| Target Version | 2.50MP37 | Fixed in Version | ||||||||||
| 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()) + ")"); | |||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| 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 | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||