File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JForum and the fly likes FQN_TOTAL_TOPICS value in cache Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "FQN_TOTAL_TOPICS value in cache" Watch "FQN_TOTAL_TOPICS value in cache" New topic
Author

FQN_TOTAL_TOPICS value in cache

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Doesn't look like we ever update FQN_TOTAL_TOPICS value in the cache. As a result, when we add and delete posts, the pagination value becomes off.

I have playing around with the JForum code for over a month now, and I feel not adopting Hibernate is the BIGGEST weakness of JForum. Developers have to understand and maintain a separate cache layer on top of the DAO code. This is error prone and the bugs are very hard to detect.

Hope the new version will be released soon, and I hope I don't have to rip apart all my customized codes In the area of DB access and Search, JForum is behind MvnForum and JBoss's Forum.
[originally posted on jforum.net by sru]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
This is also a problem for Topic.getTotalReplies() in the cache. PostAction.insertUpdate() is updating it, but PostAction.delete() is not
[originally posted on jforum.net by sru]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
This bug is fixed in the cvs!

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Rafael,

can we get a list of all bugfixes (n the files changed), done over 2.1.6?
[originally posted on jforum.net by pankajvermani]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
You can see a large list in the bug tracker: http://www.jforum.net/jira

However, there are a lot of issues not reported there that were changed in the main source code - but the bug tracker is a good source of information, anyway.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: FQN_TOTAL_TOPICS value in cache