• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Category with the same display_order disapeared in admin panel

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In the CVS version, after I re-save the permission for each group, I can see the Category list and Foum list. Then I try to move up and down the Category item. The origial sequence of category item I created was, eg:
A, B, C. They are displayed as B, A, C. So, first I click the "up" button to move up A. Then A disapeared from the Category list.

I checked the database, now A and B has the same display_order = 1.

I manually update back their value to 1, 2, 3 and the Category list becomes normal. I think this is a bug.

[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
The above post is made by me.

PS. Those categoried was created first in version 2.0.2's admin panel.
So, I don't know if category created by CVS will meet this bug.
[originally posted on jforum.net by andowson]
 
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
2.0.2 has a bug with the order of categories. Run this command in your sql client:



Then restart your servlet-container. It should do the job.

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
Great job with jforum!
I've stumbled on this same issue of ordering categories and forums. I'm using the built-in hsql database. Is there still a way to run the command line to fix this ordering bug? I don't believe there is an sql client included with hsql?

Please advise
Thanks!
[originally posted on jforum.net by Didas]
 
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
Yep, there is. Go do WEB-INF/config/database/hsqldb directory, using the command line, and then type



then, choose "Standalone" and, int he connection string, put the database name you're using.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Don't sweat petty things, or pet sweaty things. But cuddle this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic