Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

category

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, this bug was fixed!

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic