details:   /erp/devel/pi/rev/ea95f800819d
changeset: 9327:ea95f800819d
user:      Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
date:      Thu Dec 23 12:16:58 2010 +0100
summary:   [OBSERDS] Log an error for unsupported export format.

diffstat:

 
modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DataSourceServlet.java
 |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r c11ae0308f81 -r ea95f800819d 
modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DataSourceServlet.java
--- 
a/modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DataSourceServlet.java
      Thu Dec 23 12:01:16 2010 +0100
+++ 
b/modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DataSourceServlet.java
      Thu Dec 23 12:16:58 2010 +0100
@@ -175,6 +175,8 @@
         }
         if ("csv".equals(exportAs)) {
           writeResultCSV(response, result);
+        } else {
+          log.error("Unsupported export format: " + exportAs);
         }
       } else {
         writeResult(response, result);

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to