Show log related to callouts as info instead of error
authorAntonio Moreno <antonio.moreno@openbravo.com>
Fri, 18 Feb 2011 10:47:16 +0100
changeset 10767 3a938573e0b7
parent 10766 40f43d8ca07b
child 10768 12333997558c
child 10769 4ee6a3acc8ba
Show log related to callouts as info instead of error
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
--- a/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java	Fri Feb 18 09:23:24 2011 +0100
+++ b/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java	Fri Feb 18 10:47:16 2011 +0100
@@ -785,7 +785,7 @@
         }
 
         if (method == null || init == null || service == null) {
-          log.error("Couldn't find method in Callout " + calloutClassName);
+          log.info("Couldn't find method in Callout " + calloutClassName);
         } else {
           RequestContext rq = RequestContext.get();
 
@@ -919,7 +919,7 @@
       List<String> lastFieldChangedList) {
     if (col.getCallout().getADModelImplementationList() == null
         || col.getCallout().getADModelImplementationList().size() == 0) {
-      log.error("The callout of the column " + col.getDBColumnName()
+      log.info("The callout of the column " + col.getDBColumnName()
           + " doesn't have a corresponding model object, and therefore cannot be executed.");
     } else {
       String calloutClassNameToCall = col.getCallout().getADModelImplementationList().get(0)