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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021622
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementminorhave not tried2012-09-12 12:342012-09-26 17:19
ReporterjonalegriaesarteView Statuspublic 
Assigned Tojonalegriaesarte 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision671346f6a420
ProjectionnoneETAnoneTarget Version3.0MP16
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned ToioritzCia
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021622: When loading seconday unit combo in order line callout, the code is different to english and the rest

DescriptionWhen loading seconday unit combo in order line callout, the code is different to english and the rest
Steps To ReproduceCode is different:

if (vars.getLanguage().equals("en_US")) {
FieldProvider[] tld = null;
try {
ComboTableData comboTableData = new ComboTableData(vars, this, "TABLE", "",
"M_Product_UOM", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
"SLOrderProduct"),
Utility.getContext(this, vars, "#User_Client", "SLOrderProduct"), 0);
Utility.fillSQLParameters(this, vars, null, comboTableData, "SLOrderProduct", "");
tld = comboTableData.select(false);
comboTableData = null;
} catch (Exception ex) {
throw new ServletException(ex);
}

if (tld != null && tld.length > 0) {
resultado.append("new Array(");
for (int i = 0; i < tld.length; i++) {
resultado.append("new Array(\"" + tld[i].getField("id") + "\", \""
+ FormatUtilities.replaceJS(tld[i].getField("name")) + "\", \"" + ("false") + "\")");
if (i < tld.length - 1) {
resultado.append(",\n");
}
}
resultado.append("\n)");
} else {
resultado.append("null");
}
resultado.append("\n),");
} else {
FieldProvider[] tld = null;
try {
ComboTableData comboTableData = new ComboTableData(vars, this, "TABLE", "",
"M_Product_UOM", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
"SLOrderProduct"),
Utility.getContext(this, vars, "#User_Client", "SLOrderProduct"), 0);
Utility.fillSQLParameters(this, vars, null, comboTableData, "SLOrderProduct", "");
tld = comboTableData.select(false);
comboTableData = null;
} catch (Exception ex) {
throw new ServletException(ex);
}

if (tld != null && tld.length > 0) {
resultado.append("new Array(");
for (int i = 0; i < tld.length; i++) {
resultado.append("new Array(\"" + tld[i].getField("id") + "\", \""
+ FormatUtilities.replaceJS(tld[i].getField("name")) + "\", \""
+ (i == 0 ? "true" : "false") + "\")");
if (i < tld.length - 1) {
resultado.append(",\n");
}
}
resultado.append("\n)");
} else {
resultado.append("null");
}
resultado.append("\n),");
}
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0052015)
hgbot (developer)
2012-09-12 12:55

Repository: erp/devel/pi
Changeset: 671346f6a4206abf0c86b0fde09b51fef890205a
Author: Jon Alegría <jon.alegria <at> openbravo.com>
Date: Wed Sep 12 12:55:04 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/671346f6a4206abf0c86b0fde09b51fef890205a [^]

Fixes issue 0021622: When loading seconday unit combo in order line callout,
the code is different to english and the rest

---
M src/org/openbravo/erpCommon/ad_callouts/SL_Order_Product.java
---
(0052370)
ioritzCia (developer)
2012-09-24 18:32

Verified
(0052733)
hudsonbot (developer)
2012-09-26 17:19

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/b780e90c6452 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-09-12 12:34 jonalegriaesarte New Issue
2012-09-12 12:34 jonalegriaesarte Assigned To => jonalegriaesarte
2012-09-12 12:34 jonalegriaesarte Modules => Core
2012-09-12 12:55 hgbot Checkin
2012-09-12 12:55 hgbot Note Added: 0052015
2012-09-12 12:55 hgbot Status new => resolved
2012-09-12 12:55 hgbot Resolution open => fixed
2012-09-12 12:55 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/671346f6a4206abf0c86b0fde09b51fef890205a [^]
2012-09-12 13:15 jonalegriaesarte Closed by => ioritzCia
2012-09-24 18:32 ioritzCia Note Added: 0052370
2012-09-24 18:32 ioritzCia Status resolved => closed
2012-09-26 17:19 hudsonbot Checkin
2012-09-26 17:19 hudsonbot Note Added: 0052733


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker