View Issue Details

IDProjectCategoryView StatusLast Update
5929Composrnewspublic2024-09-11 00:52
ReporterPDStig Assigned ToPDStig  
PriorityhighSeverityminor 
Status resolvedResolutionfixed 
Product Version11.beta2 
Summary5929: Broken news category images
DescriptionNews category images might be broken or not properly rendering. This hotfix corrects get_news_category_image_url which was not appropriately checking to see if a given news category image was a theme image (it would instead treat it as a local URL, which does not exist).

Also added a sanity check to make sure what we have is indeed an image.
TagsNo tags attached.
Attach Tags
Attached Files
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

admin

2024-09-11 00:52

administrator   ~9318

Fixed in Git commit 4b2b291ba0 (https://gitlab.com/composr-foundation/composr/commit/4b2b291ba0 - link will become active once code pushed to GitLab)

admin

2024-09-11 00:52

administrator   ~9319

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 the step “Transfer across new/updated files”). 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/).

Issue History

Date Modified Username Field Change