permaculture playing cards*
The moose likes JForum and the fly likes category Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "category" Watch "category" New topic
Author

category

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
in the current CVS version
I am tryin to add a new category from admin interface.
Click insert, select category - everything goes through, but no new category in the list.

There is only Category Test there in the list.

When I exist and then login back to forum as admin - I see all cxategories created.

Similar problem exists with forum creation - create a new forum from admin inteface, and you see nothing changed there.

logoff and then login as admin - you see the created forum.
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
even logoff/logout sometimes does not help to refresh the list.
servlets enine restart helps more, but not completelly.

I see all created categories in slect box of forum interface,
but do not see the same list in category administartion.

Similar problem also present with forums administration.
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
This is probably related to caching.
select * from jforum_forums ;
shows a single forum (I deleted old records in database)
but web site still shows 3 forums.

Also the administration screen categories is broken

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

Joined: Apr 22, 2012
Posts: 17424
I can sync forums output by deleting the directory
omcat/jakarta-tomcat-5.5.9/work/Catalina/localhost

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

Joined: Apr 22, 2012
Posts: 17424
Looks like a problem with the cache. Some users reported it too.

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

Joined: Apr 22, 2012
Posts: 17424
In addition to fixing this bug (this is important, otherwise it is very hard to manage forum)
it may be a good idea to clear cache on servlet startup.
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
The pages with outdated information
http://localhost:8080/jforum_original/adminForums/list.page
http://localhost:8080/jforum_original/adminCategories/list.page

Setting
topic.cache.enabled = false
security.cache.enabled = false
forum.cache.enabled = false

does not help. only
./shutdown.sh ; rm -rf ../work/* ; ./startup.sh

for tomcat
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Ok, this bug was fixed!

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

Joined: Apr 22, 2012
Posts: 17424
I found it is not a matter with cache.
When you add a new category, you must re-apply the access-conctrol list to admin itself.
[originally posted on jforum.net by pistachio]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: category
 
Similar Threads
problems in the list of categories and forums
permission of a group - add a new forum (moderated)
Unable to see list of categories and forums
2.1.8 Forum Index > Message Approving > View giving exception
A bug in the Group Permissions