Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0021622 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 07. Sales management | minor | have not tried | 2012-09-12 12:34 | 2012-09-26 17:19 | |||
Reporter | jonalegriaesarte | View Status | public | |||||
Assigned To | jonalegriaesarte | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 671346f6a420 | ||||
Projection | none | ETA | none | Target Version | 3.0MP16 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Review Assigned To | ioritzCia | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0021622: When loading seconday unit combo in order line callout, the code is different to english and the rest | |||||||
Description | When loading seconday unit combo in order line callout, the code is different to english and the rest | |||||||
Steps To Reproduce | Code 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),"); } | |||||||
Tags | No 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 |