details:   http://code.openbravo.com/erp/devel/pi/rev/4daeb39857fd
changeset: 3387:4daeb39857fd
user:      Asier Lostalé <asier.lostale <at> openbravo.com>
date:      Fri Mar 13 08:53:13 2009 +0100
summary:   0008108: Some subreports are failiing

diffstat:

 src-core/src/org/openbravo/xmlEngine/DataValue.java        |  2 +-
 src/org/openbravo/base/secureApp/HttpSecureAppServlet.java |  1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 0242ae3b05e2 -r 4daeb39857fd 
src-core/src/org/openbravo/xmlEngine/DataValue.java
--- a/src-core/src/org/openbravo/xmlEngine/DataValue.java       Fri Mar 13 
11:51:44 2009 +0530
+++ b/src-core/src/org/openbravo/xmlEngine/DataValue.java       Fri Mar 13 
08:53:13 2009 +0100
@@ -142,7 +142,7 @@
         query();
         return execute();
       } else {
-        if (dataArray != null) { // if there is array set the actual
+        if (dataArray != null && dataArray.length > iArray) { // if there is 
array set the actual
           // data
           data = dataArray[iArray];
           iArray++;
diff -r 0242ae3b05e2 -r 4daeb39857fd 
src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
--- a/src/org/openbravo/base/secureApp/HttpSecureAppServlet.java        Fri Mar 
13 11:51:44 2009 +0530
+++ b/src/org/openbravo/base/secureApp/HttpSecureAppServlet.java        Fri Mar 
13 08:53:13 2009 +0100
@@ -367,6 +367,7 @@
       }
     } catch (final Exception e) {
       log4j.error("Error captured: " + e);
+      e.printStackTrace();
       if (strPopUp != null && !strPopUp.equals(""))
         bdErrorGeneralPopUp(request, response, "Error", e.toString());
       else

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to