details: https://code.openbravo.com/erp/devel/pi/rev/9500d6d28f8e changeset: 16199:9500d6d28f8e user: Naiara Martinez <naiara.martinez <at> openbravo.com> date: Mon Apr 23 09:52:34 2012 +0200 summary: fixed bug 9518 set max length for Initial Client Setup username to 60
details: https://code.openbravo.com/erp/devel/pi/rev/a1787a1d8fd0 changeset: 16200:a1787a1d8fd0 user: Naiara Martinez <naiara.martinez <at> openbravo.com> date: Mon Apr 23 15:27:42 2012 +0200 summary: fixed bug 13955 Compare if the variable is null for avoiding the exception details: https://code.openbravo.com/erp/devel/pi/rev/75e7d7376b75 changeset: 16201:75e7d7376b75 user: Mikel Irurita <mikel.irurita <at> openbravo.com> date: Tue Apr 24 19:58:03 2012 +0200 summary: Related to issue 9518: update license text year details: https://code.openbravo.com/erp/devel/pi/rev/26d0c484a5ca changeset: 16202:26d0c484a5ca user: Mikel Irurita <mikel.irurita <at> openbravo.com> date: Tue Apr 24 19:58:20 2012 +0200 summary: Related to issue 13955: update license text year diffstat: src/org/openbravo/erpCommon/ad_callouts/SL_RequisitionLine_Product.java | 7 +++++-- src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.html | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diffs (45 lines): diff -r f723ed823d4f -r 26d0c484a5ca src/org/openbravo/erpCommon/ad_callouts/SL_RequisitionLine_Product.java --- a/src/org/openbravo/erpCommon/ad_callouts/SL_RequisitionLine_Product.java Tue Apr 24 12:22:57 2012 +0200 +++ b/src/org/openbravo/erpCommon/ad_callouts/SL_RequisitionLine_Product.java Tue Apr 24 19:58:20 2012 +0200 @@ -11,7 +11,7 @@ * under the License. * The Original Code is Openbravo ERP. * The Initial Developer of the Original Code is Openbravo SLU - * All portions are Copyright (C) 2008-2010 Openbravo SLU + * All portions are Copyright (C) 2008-2012 Openbravo SLU * All Rights Reserved. * Contributor(s): ______________________________________. ************************************************************************ @@ -92,7 +92,10 @@ OBContext.setAdminMode(true); try { PriceList pList = OBDal.getInstance().get(PriceList.class, strPriceListId); - strResult.append("new Array(\"inpcCurrencyId\", \"" + pList.getCurrency().getId() + "\"),\n"); + if (pList != null) { + strResult.append("new Array(\"inpcCurrencyId\", \"" + pList.getCurrency().getId() + + "\"),\n"); + } } finally { OBContext.restorePreviousMode(); } diff -r f723ed823d4f -r 26d0c484a5ca src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.html --- a/src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.html Tue Apr 24 12:22:57 2012 +0200 +++ b/src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.html Tue Apr 24 19:58:20 2012 +0200 @@ -13,7 +13,7 @@ * under the License. * The Original Code is Openbravo ERP. * The Initial Developer of the Original Code is Openbravo SLU - * All portions are Copyright (C) 2001-2011 Openbravo SLU + * All portions are Copyright (C) 2001-2012 Openbravo SLU * All Rights Reserved. * Contributor(s): ______________________________________. ************************************************************************ @@ -386,7 +386,7 @@ <tr> <td class="TitleCell"><span class="LabelText">Client Username</span></td> <td class="TextBox_ContentCell" colspan="2"> - <input dojoType="openbravo:ValidationTextbox" required="true" class="TextBox_TwoCells_width required" type="text" name="inpClientUser" id="paramClientUser" maxlength="30" value="ClienteAdmin"></input><script>djConfig.searchIds.push("paramClientUser");</script> + <input dojoType="openbravo:ValidationTextbox" required="true" class="TextBox_TwoCells_width required" type="text" name="inpClientUser" id="paramClientUser" maxlength="60" value="ClienteAdmin"></input><script>djConfig.searchIds.push("paramClientUser");</script> </td> <td class="TitleCell"><span class="LabelText">Confirm Password</span></td> <td class="TextBox_ContentCell" colspan="2"> ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Openbravo-commits mailing list Openbravo-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbravo-commits