Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0021622 | Openbravo ERP | 07. Sales management | public | 2012-09-12 12:34 | 2012-09-26 17:19 |
Reporter | jonalegriaesarte | ||||
Assigned To | jonalegriaesarte | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | pi | ||||
Target Version | 3.0MP16 | Fixed in Version | |||
Merge Request Status | |||||
Review Assigned To | ioritzCia | ||||
OBNetwork customer | |||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
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),"); } | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
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 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|