Revision: 40298
Author:   mnour
Date:     2013-08-09 17:46:36 +0200 (Fri, 09 Aug 2013)
Log Message:
-----------
CMS7-7292: Error in logging after upgrading to 7.7.10
  - The check for the number of arguments was incorrect

Modified Paths:
--------------
    
hippo-cms7/cms/branches/hippo-cms-2.22.xx/perspectives/src/main/java/org/hippoecm/frontend/plugins/cms/dashboard/current/CurrentActivityPlugin.java

Modified: 
hippo-cms7/cms/branches/hippo-cms-2.22.xx/perspectives/src/main/java/org/hippoecm/frontend/plugins/cms/dashboard/current/CurrentActivityPlugin.java
===================================================================
--- 
hippo-cms7/cms/branches/hippo-cms-2.22.xx/perspectives/src/main/java/org/hippoecm/frontend/plugins/cms/dashboard/current/CurrentActivityPlugin.java
 2013-08-09 13:04:19 UTC (rev 40297)
+++ 
hippo-cms7/cms/branches/hippo-cms-2.22.xx/perspectives/src/main/java/org/hippoecm/frontend/plugins/cms/dashboard/current/CurrentActivityPlugin.java
 2013-08-09 15:46:36 UTC (rev 40298)
@@ -112,7 +112,7 @@
                 BrowseLinkTarget target = new BrowseLinkTarget(path);
                 if ("rename".equals(label.getEventMethod())) {
                     String[] arguments = label.getArguments();
-                    if (arguments != null && arguments.length > 0) {
+                    if (arguments != null && arguments.length > 1) {
                         target = new BrowseLinkTarget(path+"/"+arguments[1]);
                     }
                 }

_______________________________________________
Hippocms-svn mailing list
[email protected]
https://lists.onehippo.org/mailman/listinfo/hippocms-svn

Reply via email to