• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Bugs?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Rafael,

These look like bugs when managing JForum via Control Panel.

1. When adding new Categories/Forums - they do not appear on the home page, until Groups -> Security Permissions saved again after each change.

From the forum administrator's point of view, if these permissions were once set, they should be used for new Categories/Forums.

2. I posted a few messages in my local installation of JForum as Admin and Anonymous. Then I set in Control Panel that Anonymous posts are not allowed. When removing these test messages, there are still some messages by Anonymous, which are reported on the hope page in the Messages column, but not available to Admin when entering a particular forum (so they cannot be read and removed). Next I set to allow Anonymous posts (returned settings back), but that doesn't help to make Anonymous messages visible.

How to remove such messages (they were entered there!)?
Re-saving all permissions in Control Panel doesn't help.

3. Control Panel -> Groups -> General -> Permissions -> "Override User Values" is not saved for all options.

4. The list of forums in above Groups -> General -> Permissions -> Deny Anonymous Posts saved, but seems has no effect until I save the same list in Users -> Anonymous -> Permissions -> Anonymous Posts

Please clarify?

I will add more reports, if found. May be this message should be moved to Bugs forum.
I think you need to focus on making JForum much more stable, the current features are quite enough to effectively discuss in JForum, but please improve what is already done!

Thanks!
Evgeny
[originally posted on jforum.net by Evgeny]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Evgeny wrote:Dear Rafael,

These look like bugs when managing JForum via Control Panel.

1. When adding new Categories/Forums - they do not appear on the home page, until Groups -> Security Permissions saved again after each change.

From the forum administrator's point of view, if these permissions were once set, they should be used for new Categories/Forums.



hm. I thought exactly the opposite, so that's because you should re-save permissions. However, you can choose which groups will have access to the Forum / Category in time you're creating it, so you don't need to go to permission control. ( the "Choose the groups you want to allow the access to this new Category." field when you're in the insert page ).

Evgeny wrote:
2. I posted a few messages in my local installation of JForum as Admin and Anonymous. Then I set in Control Panel that Anonymous posts are not allowed. When removing these test messages, there are still some messages by Anonymous, which are reported on the hope page in the Messages column, but not available to Admin when entering a particular forum (so they cannot be read and removed). Next I set to allow Anonymous posts (returned settings back), but that doesn't help to make Anonymous messages visible.



hm, I'll check that. The bug entry is at http://www.jforum.net/jira/browse/JF-82

Evgeny wrote:
3. Control Panel -> Groups -> General -> Permissions -> "Override User Values" is not saved for all options.



That's a known bug. The permission system is kinda buggy yet. The bug entry is at http://www.jforum.net/jira/browse/JF-83

Evgeny wrote:
4. The list of forums in above Groups -> General -> Permissions -> Deny Anonymous Posts saved, but seems has no effect until I save the same list in Users -> Anonymous -> Permissions -> Anonymous Posts



ok, I'll check that.

Evgeny wrote:I will add more reports, if found. May be this message should be moved to Bugs forum.
I think you need to focus on making JForum much more stable, the current features are quite enough to effectively discuss in JForum, but please improve what is already done!



That's what we're focusing on . New general features are planned to after the 1.0 release. Until there, we are fixing bugs or refactoring some pieces of code to improve performance and usability.

Thanks for your tips.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Evgeny wrote:2. I posted a few messages in my local installation of JForum as Admin and Anonymous. Then I set in Control Panel that Anonymous posts are not allowed. When removing these test messages, there are still some messages by Anonymous, which are reported on the hope page in the Messages column, but not available to Admin when entering a particular forum (so they cannot be read and removed). Next I set to allow Anonymous posts (returned settings back), but that doesn't help to make Anonymous messages visible.



I don't understand the above paragraph. What you mean by hope page?

What did you do to remove the test messages? Do you mean you remove every message by the admin and anonymous?

Regards,
James Yong


[originally posted on jforum.net by jamesyong]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

jamesyong wrote:

Evgeny wrote:2. I posted a few messages in my local installation of JForum as Admin and Anonymous. Then I set in Control Panel that Anonymous posts are not allowed. When removing these test messages, there are still some messages by Anonymous, which are reported on the hope page in the Messages column, but not available to Admin when entering a particular forum (so they cannot be read and removed). Next I set to allow Anonymous posts (returned settings back), but that doesn't help to make Anonymous messages visible.



I don't understand the above paragraph. What you mean by hope page?

What did you do to remove the test messages? Do you mean you remove every message by the admin and anonymous?

Regards,
James Yong



Of course I meant "home" page, not hope page, but hopes remind
1. I installed the forum on my local machine.
2. I created some categories and forums.
3. I posted a few messages. Some messages were posted as Anonymous user, and some as Admin.
4. I *backuped and restored* the whole JForum database (actually the database has been renamed and backup-restore of all tables performed).
5. A few hours later I started to delete messages as user Admin.
There was a message on the home page, posted by Anonymous, which user Admin cannot see inside the corresponded forum. So, I cannot remove that message, too.
When forum has a lot of messages, such "missed" message can be not noticeable, but since I posted a few message and wanted to remove all them, I found that specific message.

Evgeny
[originally posted on jforum.net by Evgeny]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Evgeny wrote:
4. I *backuped and restored* the whole JForum database (actually the database has been renamed and backup-restore of all tables performed).
Evgeny


Evgeny,

I suppose you have to restart Tomcat after you do things like the above. Have you restart Tomcat before you proceed to the next step.

If this error persists, can you relate how you backup and restored the database?

I haven't been able to produce the error.

Regards,
James Yong




[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, I restarted server.

I used these commands to backup and restore database. I also manually changed name of the database from JForum to newJForum in backup.sql

# backup
mysqldump -u root --password=password --databases JForum --add-drop-table --add-locks --all --extended-insert --lock-tables > backup.sql

# restore
mysql -u root -p newJForum < backup.sql

I think this defect is not relative to database, but to managing reference tables in Java.
Evgeny
[originally posted on jforum.net by Evgeny]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also, I think (I'm not sure!) I seen another strange behaviour.

- I loged-in as Admin.
- I posted a message as Admin.
- 10-20 minutes later I posted another message. That message was posted in the forum from the user Anonymous.

Suppose, if the user session expired, the user can post messages as Anonymous.

I expected to see that user links "search, myprofile, private messages, logout" will change accordantly to "search, register, login", as they were before log-in, otherwise the user thinks he/she is still loged-in.

Evgeny
[originally posted on jforum.net by Evgeny]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Evgeny wrote:Also, I think (I'm not sure!) I seen another strange behaviour.

- I loged-in as Admin.
- I posted a message as Admin.
- 10-20 minutes later I posted another message. That message was posted in the forum from the user Anonymous.

Suppose, if the user session expired, the user can post messages as Anonymous.

I expected to see that user links "search, myprofile, private messages, logout" will change accordantly to "search, register, login", as they were before log-in, otherwise the user thinks he/she is still loged-in.

Evgeny


Evgeny,

Let me explain. After 10 minutes, the session will time-out. If the forum is set to allow anonymous posting, the user can still post but anonymously.

What you can do is
1) set the time-out value at jforum/WEB-INF/web.xml to a higher value, to increase the time before timeout, or
2) when you login, click on the checkbox for automatic login, or
3) simply disallow anonymous posting.

Regards,
James Yong
[originally posted on jforum.net by jamesyong]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Evgeny wrote:3. Control Panel -> Groups -> General -> Permissions -> "Override User Values" is not saved for all options.


Hi Evgeny,

Unless you can provide us with more information on the above... :P

The tick on the checkbox for "Override User Values" wasn't really "saved" anyway. The tick disappears after we click "save", so that may give some false impression that it wasn't saved. This "Override User Values" label has been renamed "Set Users' Role to follow the Group" to better reflect its purpose.

Regards,
James Yong
[originally posted on jforum.net by jamesyong]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm very busy with production of my new Astro store (telescopes, accessories, etc).

I hope to include JForum in next release of my on-line store, after I will have more time to test it, test, test... It's critical to have stable/production-level software before finally install it on production web site.
[originally posted on jforum.net by Evgeny]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic