You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2011/03/22 13:50:35 UTC

svn commit: r1084150 - /camel/trunk/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/RoutesResource.index.ssp

Author: janstey
Date: Tue Mar 22 12:50:35 2011
New Revision: 1084150

URL: http://svn.apache.org/viewvc?rev=1084150&view=rev
Log:
CAMEL-3797 - Patch from Dejan to fix NPE in web console when browsing routes with no description.

Modified:
    camel/trunk/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/RoutesResource.index.ssp

Modified: camel/trunk/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/RoutesResource.index.ssp
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/RoutesResource.index.ssp?rev=1084150&r1=1084149&r2=1084150&view=diff
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/RoutesResource.index.ssp (original)
+++ camel/trunk/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/RoutesResource.index.ssp Tue Mar 22 12:50:35 2011
@@ -18,7 +18,7 @@
   #for(i <- it.getRoutes)
   <tr>
     <td>
-      <a href='${uri("/routes/" + i.getId)}'>${i.getId}</a> ${i.getDescription.getText}
+      <a href='${uri("/routes/" + i.getId)}'>${i.getId}</a> ${i.getDescriptionText}
     </td>
     <td class="${i.getStatus}">
       ${i.getStatus}