I also saw this problem in Roller 3.1. The blacklist update works in Server Admin:Configuration for someone with the global admin privilege. The blacklist update fails in Preferences:Settings for someone has either global admin or weblog admin privilege. When it fails, the java exception points to HibernateRefererManagerImpl.applyRefererFilters() method.
Allow me to be more specific. The Server Admin:Configuration calls RollerPropertiesAction.update(). It comments out the call to HibernateRefererManagerImpl.applyRefererFilters(). I quote the code below for your reference. // this operation causes OutOfMemory exceptions on sites with // lots of referers so i am disabling it until it's // not as dangerous -- Allen G //mRoller.getRefererManager().applyRefererFilters(); The Preferences:Settings calls WebsiteFormAction.update(). It fails at the call to HibernateRefererManagerImpl.applyRefererFilters(). I comment out the call and the blacklist update appears to work. Questions: 1. Is it a known behavior in Roller 3.1? 2. Is it fixed in Roller 4.0? 3. Should we comment out the call to HibernateRefererManagerImpl.applyRefererFilters() from Preferences:Settings to make it work? Will it break Roller 3.1 referrer feature? 4. Is there a better work-around? ---HC "Ajjali" <[EMAIL PROTECTED]> 07/23/2007 01:30 PM Please respond to [email protected] To [email protected] cc Subject Re: Blog level Spam Prevention setting [Unexpected Exception] Roller version is 3.1 APP. Server BEA 9.2 Database oracle 9.2.4 Java 1.5.0 OS is Solaris 9/10 The error occurs in IE and Firefox and this happens when Spam Prevention word are entered and you click the Update Weblog settings button. Dave Johnson-8 wrote: > > On 7/21/07, Ajjali <[EMAIL PROTECTED]> wrote: >> I am running roller 3.1 and the preference settings for Spam prevention >> does not work. When entries are made and update Weblog settings is >> clicked >> roller throws an exception. >> >> Unexpected Exception >> Roller has encountered and logged an unexpected exception. > > Please be a little more specific. Which actions on which pages cause > exceptions? > > And it always helps to answer the basic questions: > http://cwiki.apache.org/confluence/display/ROLLER/Roller+Mailing+Lists > > e.g. > * What version of Roller are you using? > * What Application Server version are you using? > * What database are you using? > * What Java version are you using? > * What operating system are you using? > * If applicable, what browser are you using? > > Thanks, > Dave > > -- View this message in context: http://www.nabble.com/Blog-level-Spam-Prevention-setting--Unexpected-Exception--tf4123797s12275.html#a11749021 Sent from the Roller - Dev mailing list archive at Nabble.com.
