View Issue Details

IDProjectCategoryView StatusLast Update
1747Composrcalendarpublic2015-01-07 04:51
ReporterGuest Assigned ToGuest  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Summary1747: side_calendar List View Mode Not working for 2015 entries
DescriptionThe Composr "side_calendar" block with the "List" parameter set is not working since the year changed from 2014 to 2015. When the "month" parameter is set instead of the list parameter it works fine and you can see all the upcoming events as dots on the monthly calendar. When in list mode the calendar block reports "There are no entries at this time". The calendar events list mode worked fine last December (2014) but is not working now that it's 2015.
Steps To ReproduceConfirm you have calendar entries coming up in the next few weeks (one or more entries, add an entry to test if needed)
Insert a side_calendar block on an Composr page
set param to "list"
No entries show

to confirm you have entries to show:
insert a side calendar block
set param to "month"
observe that days with an entry show on the monthly calendar with a dot within the calendar day.
Additional InformationI've tried to reinsert the calendar block with the default 30 day look ahead and with 120 day look ahead values and it still lists no entries (there are entries it should be listing).

I've have side by side calendar blocks on my Composr site on multiple pages for the last few years and they both worked fine. One block shows the "month" view and the other shows the "list" view. There have been no changes except upgrading Composr to the latest version. The "month" view has continued to work fine. Only the list view appears to not be working. I am running version 9.0.16. I have not changed any of the settings on the host server.

Thanks for looking into this.
TagsNo tags attached.
Attach Tags
Attached Files
Time estimation (hours)0.5
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2015-01-06 20:19

administrator   ~2402

Thanks for the clear report. Issue confirmed, investigating.

Chris Graham

2015-01-06 20:32

administrator   ~2403

Automated response: Listed calendar events not showing up (major bug)

Calendar events shown via the side_calendar block (in listing mode) do not show if within the first 100 days of the year.

Explanation of cause:
This nasty bug must have come up in an incorrect change within the later two thirds of 2014. Likely we added tolerance to the listing mode to look 100 days further back in time so as to be able to show events that are in-progress at the time of viewing the listing mode, however unfortunately that caused a glitch when comparing years.

Chris Graham

2015-01-06 20:32

administrator   ~2404

Fixed in git commit 8948794 (https://github.com/chrisgraham/Composr/commit/8948794 - 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/).

Guest

2015-01-07 04:51

reporter   ~2405

The fix works great! Thanks Chris.

Issue History

Date Modified Username Field Change