You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "Glen Mazza (JIRA)" <ji...@apache.org> on 2013/01/09 23:38:13 UTC
[jira] [Closed] (ROL-1333) Class Cast Exception on weblog settings
page
[ https://issues.apache.org/jira/browse/ROL-1333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Glen Mazza closed ROL-1333.
---------------------------
Resolution: Unresolved
Unsure which specific fields are causing this issue (referrer table, dayHits field?--I don't know those fields). 2007 Bug reported against Roller 3.0. Please try again with Roller 5.0.1 or trunk.
> Class Cast Exception on weblog settings page
> --------------------------------------------
>
> Key: ROL-1333
> URL: https://issues.apache.org/jira/browse/ROL-1333
> Project: Roller
> Issue Type: Bug
> Components: Database Access & Data Model
> Affects Versions: 3.0
> Environment: Tomcat 5.5.20, hibernate 3.2
> Reporter: declan mcgarry
> Assignee: Roller Unassigned
>
> Class Cast Exception (java.lang.Long) when an integer value appears in referer table, dayHits field, means no access to the settings page for a weblog after a comment is made.
> Source code appears to cast an Integer at line 393 in HibernateRefererManagerImpl.java, but exception says it's a Long. Tweeking DB setup made no difference, but making fields nullable and null appears to work, albeit at the expense of hit counting.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira