data lost when submitting changes after modifying account

RESOLVED FIXED

Status

Webtools Graveyard
Litmus
--
critical
RESOLVED FIXED
11 years ago
2 years ago

People

(Reporter: Damian Szczepanik, Assigned: coop)

Tracking

Trunk
x86
Windows XP

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

11 years ago
1. log in, use admin account
2. in first tab open http://litmus.mozilla.org/manage_subgroups.cgi, add new test case to sub group but does not submit changes
3. in second tab modify your own email using http://litmus.mozilla.org/edit_users.cgi submit changes
4. move back to first tab and submit changes
   -> litmus wants you to log in again
5. log in
   -> litmus confirms that sub group has been updated, but when you try to edit this group you find out that all test cases have been removed (lost), sub group is empty

mark it as critical as this cause data lost
(Assignee)

Updated

11 years ago
Status: NEW → ASSIGNED
(Assignee)

Comment 1

11 years ago
When a user is already logged in, we get a valid array of testcase IDs, but redirecting through the login page (we pass through all the CGI params when we redirect through the login page) munges the array into a string representation of the array ref, e.g. 'ARRAY(0xa830d30)' which confuses the testcase list updating code.
(Assignee)

Comment 2

11 years ago
Created attachment 276844 [details] [diff] [review]
Arrays receive multiple entries without breaking single entities.
Attachment #276844 - Flags: review?(zach)

Comment 3

11 years ago
Comment on attachment 276844 [details] [diff] [review]
Arrays receive multiple entries without breaking single entities.

Cool. That was easy enough...
Attachment #276844 - Flags: review?(zach) → review+
(Assignee)

Updated

11 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.