View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
5725 | Composr alpha bug reports | galleries | public | 2024-04-24 04:58 | 2024-06-04 16:26 |
Reporter | Adam Edington | Assigned To | PDStig | ||
Priority | normal | Severity | minor | ||
Status | resolved | Resolution | fixed | ||
Summary | 5725: Cannot add gallery media to sub(sub)categories | ||||
Description | Create a subcategory of a subcategory and even if images/videos are allowed, you cannot add or move items to this category, EDIT: It seems the accepted types are not being saved, I ticked both videos and images but they are both reverting to unticked upon save. | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Attached Files | |||||
Sponsorship open | |||||
|
I cannot reproduce. Can you provide an exact step-by-step replication situation? |
|
1) Created the Videos gallery which allows no images/videos to be uploaded under Galleries (root). 2) Created the A Dark Reborn "subgallery" which allows videos to be uploaded under Videos (videos). 3) Cannot upload videos to A Dark Reborn category. Cannot select the category in the tree. |
|
This is so strange. It works fine on my end. Videos does not allow adding a video, but if I expand videos, I'm able to select A Dark Reborn. (This is on the add video screen). When you go back to edit the A Dark Reborn gallery, does it still have accept videos ticked? Or is that not ticked when you try saving? |
|
Alright I have a reproduction case now. It seems to happen when the Galleries Home / parent-most gallery has those options disabled. Unfortunately when disabled, the ticks won't even save for the parent gallery, effectively creating a lock-out. |
|
Automated response: Cannot add gallery media to sub(sub)categories The tickboxes for accepting images / videos were not being handled correctly. Value was being used to determine whether or not they were ticked, but it should have always been set to "1"; there was a separate parameter in form_input_various_ticks for determining if the ticks are ticked by default. |
|
Fixed in Git commit bcaebfaacc (https://gitlab.com/composr-foundation/composr/commit/bcaebfaacc - link will become active once code pushed to GitLab) |
|
A hotfix (a TAR of files to upload) has been uploaded to this issue. Only apply this hotfix if you absolutely need it and cannot wait until the next release of Composr (releases are more reliable and strictly tested). As of Composr version 11, the recommended way to apply a hotfix is by following the same steps as an upgrade (https://baseurl/upgrader.php, use the hotfix on step 5). The upgrader will automatically skip files belonging to addons you do not have installed or that are newer on disk than in the hotfix. Otherwise, you can manually extract and replace these files (do not replace if your on-disk file is newer than the one in the hotfix). Always take backups of your site or at least files you are replacing before applying a hotfix. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/). |
|
Hah that's a first, a commit checksum with only letters in it |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-04-24 04:58 | Adam Edington | New Issue | |
2024-04-24 04:58 | Adam Edington | File Added: Add a video.png | |
2024-04-24 06:40 | Adam Edington | Description Updated | |
2024-05-01 01:17 | PDStig | Note Added: 0008731 | |
2024-05-01 01:48 | Adam Edington | Note Added: 0008736 | |
2024-05-01 01:48 | Adam Edington | Note Edited: 0008736 | |
2024-05-01 01:56 | Adam Edington | Note Edited: 0008736 | |
2024-05-01 01:56 | Adam Edington | Note Edited: 0008736 | |
2024-05-05 17:53 | PDStig | Note Added: 0008749 | |
2024-06-04 16:04 | PDStig | Note Added: 0008797 | |
2024-06-04 16:26 | PDStig | Note Added: 0008801 |