I think the PersistentTools has no meaning if user doesn't logged in.
Thanks
youngho
Index: TurbinePullService.java
===================================================================
RCS file:
/home/cvspublic/jakarta-turbine/src/java/org/apache/turbine/services/pull/TurbinePullService.java,v
retrieving revision 1.22
diff -u -r1.22 TurbinePullService.java
--- TurbinePullService.java 2001/05/28 15:22:01 1.22
+++ TurbinePullService.java 2001/06/07 08:45:06
@@ -419,7 +419,10 @@
// boolean parameter indicates whether get/setPerm is to be used
// rather than get/setTemp)
populateWithSessionTools(sessionTools, context, data, false);
- populateWithSessionTools(persistentTools, context, data, true);
+ if( data.getUser().hasLoggedIn() )
+ {
+ populateWithSessionTools(persistentTools, context, data, true);
+ }
}
/**
@@ -448,7 +451,7 @@
{
Log.error(
"Could not instantiate tool " + toolData.toolClassName
- + " to add to the context");
+ + " to add to the context" , e );
}
}
}
@@ -556,20 +559,20 @@
{
Log.error(
"Could not instantiate tool " + toolData.toolClassName
- + " to add to the context");
+ + " to add to the context" , e );
}
}
}