Closed Bug 741593 Opened 13 years ago Closed 13 years ago

[betafarm] Edit project removes project owner and member data on dev

Categories

(Websites :: mozillalabs.com, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: rbillings, Assigned: pmac)

References

()

Details

Editing a project on dev removes the project owner and member data. 1) https://mozillalabs-dev.allizom.org/en-US/mozilla-hackasaurus/edit/ 2) select project owners and project members > save [project is saved successfully, steps 1 & 2 are just to show that it was set up correctly] 3) https://mozillalabs-dev.allizom.org/en-US/mozilla-hackasaurus/edit/ 4) click 'inactive' button > save expected: project is saved as inactive actual: error that fields are required, all project owners and members are no longer selected
Blocks: 728464
Blocks: 728330
Assignee: nobody → jfong
No longer blocks: 728464
I can't replicate this error on my local machine.. dev needs to be updated again (currently waiting to talk to Brandon about configuration settings). Let's try this again once the server is back up.
I can easily repro this by going directly to this edit project link: https://mozillalabs-dev.allizom.org/en-US/cash-music/edit/ and then clicking save. It immediately pulls up the error 'field is required' and I can scroll through the Project Owners list and see that no owners are selected. ** Project owners are what I see most commonly removed, the project members were being removed but I didn't see that when opening the link I posted above.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
half of issue solved, other half is still there.. reopening
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee: jfong → pmclanahan
Commits pushed to master at https://github.com/mozilla/betafarm https://github.com/mozilla/betafarm/commit/66a7ab702c9c39a88aadc7292c5429a17c4f0f6b Remove django-cachemachine. Fix bug 741593. https://github.com/mozilla/betafarm/commit/76cdba734979cbf2b2fd2fea865db6ca4c0dfd5f Merge pull request #58 from pmclanahan/741593-edit-project-removes Remove django-cachemachine. Fix bug 741593.
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
I was testing on dev this morning to verify field errors, and while editing and saving data [NOT any project owners or members] it removed the project owners: https://mozillalabs-dev.allizom.org/en-US/verese/edit/
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
I believe this is due to this project never having had an owner. The "Owners" field is required in the form, but there are still many projects that have no owner. So, if you try to edit one of these projects, you'll be required to choose at least one owner in order to save the form. From looking at my copy of the data, the Verese project is one of those without an owner in the database. Now that we've made the "Team Members" field not required (bug 744493), if a project is found that has team members but no owner, a team member should be moved to the owner field and all will be well.
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
I tested with projects that previously had this issue like Hackasaurus and am no longer able to repro the problem. Verified that projects require one owner and no members. The suggestion of moving team members to the owner field is not yet implemented.
Status: RESOLVED → VERIFIED
Component: Betafarm → mozillalabs.com
You need to log in before you can comment on or make changes to this bug.