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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018960
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 08. Project and service managementminoralways2011-11-02 17:292011-12-07 11:33
ReportermalsasuaView Statuspublic 
Assigned Tojecharri 
PriorityhighResolutionunable to reproduceFixed in Version
StatusclosedFix in branch2.50Fixed in SCM revision
ProjectionnoneETAnoneTarget Version2.50MP37
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned To
Web browserGoogle Chrome
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0018960: error in log file to create a new line in expense sheet window. Error in SE_Expense_Amount callout

DescriptionIn 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 Solutionchange 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()) + ")");
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00189593.0MP7 closedjonalegriaesarte error in log file to create a new line in expense sheet window. Error in SE_Expense_Amount callout 

-  Notes
(0043727)
jecharri (developer)
2011-12-07 11:33

It is unable to reproduce in 2.50, it is only for 3.0

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker