| Issue 45: | PATCH Wrong behavior of navigation bar with non sequenced tags and sub tags ids. | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. Create a a tag and associate it with a parent tag (the parent tag must have a lower id than the first) What is the expected output? What do you see instead? It should highlight the bar correctly. It shows a navigation bar with no sub navigation bar and doesn't highlight it. What version of the product are you using? On what operating system? trunk. Ubuntu 7.04 Please provide any additional information below. Reading the TODO notes appears that the navigation bar is meant to be refactored to be simpler. Anyway, I could NOT make this problem happen just using the admin interface as it doesn't allow to specify ids, I'm having problems with it with foxy fixtures only, but I'm filling this issue not because of MY problem but because rails documentation states that when you do this: Class.find([id1, id2, id3]) you CANNOT expect that these objects will be returned in the order specified, its about how databases store rows. Follows a patch ordering it by parent id, as you can have only two levels and the first will always have a parent id of 0.
Apr 8, 2008
Project Member
#1
subim...@gmail.com
Labels:
-Priority-Medium Priority-Low
Apr 9, 2008
(No comment was entered for this change.)
Status:
Accepted
|