contao/core — Issue #3786: Check for jumpTo page in Calendar.php generateFiles() line 136
Author: winanscreative
Created: 2012-01-09 18:31:39+00:00
State: open

If there is no jumpTo page set in the archive generateFiles() attempts to get an $objParent DB Result but will return null if no jumpTo is set. This will throw a fatal error (call to function on non-object) when trying to retrieve $objParent->row().

We should either check for a jumpTo to be set or force it to be a required field. I know this is being used for the RSS feed links, and sometimes my clients like to have event lists without reader pages, but requiring it may be the best way to go.