Author: ktlili
Date: Thu Sep 27 12:07:10 2007
New Revision: 18689

URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D18689&repname=
=3Djahia
Log:
- fix JAHIA-2248: replace error by debug if add of application =3D -1 (--> =
no selected application )

Modified:
    trunk/core/src/java/org/jahia/services/applications/DispatchingServiceI=
mpl.java

Modified: trunk/core/src/java/org/jahia/services/applications/DispatchingSe=
rviceImpl.java
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/trunk/core/src/java/o=
rg/jahia/services/applications/DispatchingServiceImpl.java&rev=3D18689&repn=
ame=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/core/src/java/org/jahia/services/applications/DispatchingServiceI=
mpl.java (original)
+++ trunk/core/src/java/org/jahia/services/applications/DispatchingServiceI=
mpl.java Thu Sep 27 12:07:10 2007
@@ -92,7 +92,11 @@
         JahiaApplicationEntryManager entryManager =3D (JahiaApplicationEnt=
ryManager) SpringContextSingleton.getInstance().getContext().getBean(JahiaA=
pplicationEntryManager.class.getName());
         EntryPointInstance entryPointInstance =3D entryManager.getEntryPoi=
ntInstanceByID(entryPointID);
         if (entryPointInstance =3D=3D null) {
-            logger.error("Couldn't find application entry point with ID=3D=
" + entryPointID);
+            if(entryPointID !=3D -1){
+                logger.error("Couldn't find application entry point with I=
D=3D" + entryPointID);
+            }else{
+               logger.debug("ID=3D" + entryPointID+" --> no selected appli=
cation.");
+            }
             return "";
         }
 =


_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list

Reply via email to