Issue 31 in longhouse: User accounts being loaded in backwards order

0 views
Skip to first unread message

codesite...@google.com

unread,
May 18, 2008, 4:42:25 PM5/18/08
to longhous...@googlegroups.com
Issue 31: User accounts being loaded in backwards order
http://code.google.com/p/longhouse/issues/detail?id=31

New issue report by k.strasse:
User accounts are written to file in order 1, 2, 3, ... order, but are read
in in 3, 2, 1, order. This means that for anything that uses a list of
users by id, such as the project's list of owners and list of members, the
list is inaccurate.

Here is something you can do to test this happening:
1. Create two users. Assume user 1 should have the user_id '0' and user 2
should have the user_id '1'.
2. Log into User 1's account and create a project. Add user 2 to the
members section of the project roster (not owners section, very important.)
3. Shut down Longhouse and restart it.
4. Go to the test project.
5. You should see that user 1 is now in the members and user 2 is now the
owner.
6. Open the project XML file and you should see that user 1's id is still
in the owners list while user 2's id is still in the members list.


Issue attributes:
Status: Accepted
Owner: Venom087
Labels: Type-Defect Priority-Critical Milestone-Release0.1

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
May 18, 2008, 6:05:40 PM5/18/08
to longhous...@googlegroups.com
Issue 31: User accounts being loaded in backwards order
http://code.google.com/p/longhouse/issues/detail?id=31

Comment #1 by Venom087:
recreated the bug, working on it

codesite...@google.com

unread,
May 18, 2008, 7:09:47 PM5/18/08
to longhous...@googlegroups.com
Issue 31: User accounts being loaded in backwards order
http://code.google.com/p/longhouse/issues/detail?id=31

Comment #2 by Venom087:
fixed in r112


Issue attribute updates:
Status: Fixed

Reply all
Reply to author
Forward
0 new messages