Update of 
/var/cvs/contributions/CMSContainer_Portlets/portlets-jforum/src/java/org/jahia/portlet/jforum
In directory james.mmbase.org:/tmp/cvs-serv17524/java/org/jahia/portlet/jforum

Modified Files:
      Tag: b1_6
        JForumPortletBridge.java 
Log Message:
CMSC-1104 JForum portlet does not work on test environment


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-jforum/src/java/org/jahia/portlet/jforum
See also: http://www.mmbase.org/jira/browse/CMSC-1104


Index: JForumPortletBridge.java
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer_Portlets/portlets-jforum/src/java/org/jahia/portlet/jforum/JForumPortletBridge.java,v
retrieving revision 1.7.2.2
retrieving revision 1.7.2.3
diff -u -b -r1.7.2.2 -r1.7.2.3
--- JForumPortletBridge.java    16 Mar 2009 09:25:30 -0000      1.7.2.2
+++ JForumPortletBridge.java    23 Mar 2009 06:02:07 -0000      1.7.2.3
@@ -555,7 +555,7 @@
       reqW.setAttribute("admin_pass1", 
StringUtils.isEmpty(SystemGlobals.getValue("admin.password")) ? "admin2k" : 
SystemGlobals.getValue("admin.password"));
       reqW.setAttribute("db_connection_type", "ds");
       reqW.setAttribute("site_link", "");
-      reqW.setAttribute("dbdatasource", 
StringUtils.isEmpty(SystemGlobals.getValue("database.dbdatasource")) ? 
"java:comp/env/jdbc/jforum" : SystemGlobals.getValue("database.dbdatasource"));
+      reqW.setAttribute("dbdatasource", 
StringUtils.isEmpty(SystemGlobals.getValue("database.datasource.name")) ? 
"java:comp/env/jdbc/jforum" : 
SystemGlobals.getValue("database.datasource.name"));
       try {
          net.jforum.context.RequestContext requestContext = new 
WebRequestContext(reqW);
          ResponseContext responseContext = new WebResponseContext(respW);
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to