View Issue Details

IDProjectCategoryView StatusLast Update
6056Composrcore_feedback_featurespublic2024-11-13 23:01
ReporterPDStig Assigned ToPDStig  
PriorityhighSeverityminor 
Status resolvedResolutionfixed 
Product Version10.0.30 
Summary6056: Feedback system for catalogue entries was broken since v10
DescriptionRatings for catalogues entries has been broken ever since v10. The "real type" returned catalogues, which is invalid. It should be catalogue_entry.

This hotfix addresses that:
* real type will return catalogue_entry for ratings on catalogue entries.
* Now using prefix "catalogue_entry__" instead of "catalogues__" for consistency.
* Upgrade code in admin_version.php will fix all ratings for a "catalogues" and change them to "catalogue_entry" as they should be.
TagsRoadmap: v11
Attach Tags
Attached Files
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

admin

2024-11-13 23:00

administrator   ~9584

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

admin

2024-11-13 23:00

administrator   ~9585

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
2024-11-13 23:01 PDStig Tag Attached: Roadmap: v11