View Issue Details

IDProjectCategoryView StatusLast Update
5692Composrcataloguespublic2024-04-12 15:39
ReporterPDStig Assigned ToPDStig  
PriorityhighSeverityminor 
Status resolvedResolutionfixed 
Product Version11.alpha1 
Summary5692: Undefined array offset when sorting catalogues by date field
DescriptionWhen sorting catalogues by a date-only field, an undefined array offset error is triggered in sources/catalogues.php . This is because the code was assuming a time bit would always be provided, which is not the case for date-only fields. Fix this so that if the time bit is not included, we default to midnight.
TagsNo tags attached.
Attach Tags
Attached Files
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

admin

2024-04-12 15:39

administrator   ~8569

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

admin

2024-04-12 15:39

administrator   ~8570

A hotfix (a TAR of files to upload) has 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. If there are files in a hot-fix that you don't have then they probably relate to addons that you don't have installed and should be skipped. 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/).

Issue History

Date Modified Username Field Change