View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
1554 | Composr | General / Uncategorised | public | 2014-01-30 15:16 | 2014-01-30 15:16 |
Reporter | Chris Graham | Assigned To | Chris Graham | ||
Priority | high | Severity | minor | ||
Status | resolved | Resolution | fixed | ||
Product Version | 9.0.11 | ||||
Summary | 1554: Manually deleting a member row may stop new zones working | ||||
Description | If a new zone is added, new pages are put in place. The first time it loads, it finds the first admin, and assigns ownership to that member. If an admin was manually deleted from the f_members table, but still has a secondary membership row defined in the f_group_members table, Composr will pick up the orphan reference, associate it with a zombie user, and then crash when setting the page ownership (if you're unlucky and the first admin row to come out of the database happens to be the zombie row). There is a feature to delete a member that does full cleanup. However, we do want to allow webmasters to manually edit the database even if it does lead to occasional accidental broken references - therefore this can be considered a bug. The hotfix directly prevents the zombie row coming up. However, Composr 10 will also make it so new zones are automatically assigned to the submitter of that zone, which makes more sense anyway. | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Attached Files | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
Fixed in git commit c06f868 (https://github.com/chrisgraham/Composr/commit/c06f868 - link will become active once code pushed) A hotfix (a TAR of files to upload) have been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/). |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-02-26 18:29 | Chris Graham | Category | General => General / Uncategorised |