1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-09 06:11:01 +01:00
phorge-phorge/src/applications/calendar/query
Valerio Bozzolan dc558b5538 Fix NULL pointer exception in some circumstances from Calendar's homepage
Summary:
After importing specific weird events, for example from Google Calendar (bleah), it can happen that the Calendar's homepage becomes broken.

This was the Exception error shown to video:

    "Call to a member function getEventsBetween() on null"

It was happening since this method can return NULL:

    PhabricatorCalendarEventQuery#newRecurrenceSet()

This changeset verifies this condition from the Calendar's homepage.

Closes T15136

Test Plan: I tried in my server. I've executed the syntax lint. On my local machine I was not able to run "arc diff" since it tries to connect to root@localhost for some reasons.

Reviewers: O1 Blessed Committers, 20after4

Reviewed By: O1 Blessed Committers, 20after4

Subscribers: 0, Cigaryno, 20after4, speck, tobiaswiese, Matthew

Tags: #calendar

Maniphest Tasks: T15136

Differential Revision: https://we.phorge.it/D25060
2022-12-08 15:32:27 -07:00
..
PhabricatorCalendarEventInviteeQuery.php Update many Phabricator queries for new %Q query semantics 2018-11-15 03:48:10 -08:00
PhabricatorCalendarEventQuery.php Fix NULL pointer exception in some circumstances from Calendar's homepage 2022-12-08 15:32:27 -07:00
PhabricatorCalendarEventSearchEngine.php In Calendar mobile month view, color circles green for attending events too 2016-11-18 11:56:40 -08:00
PhabricatorCalendarEventTransactionQuery.php T5464, ApplicationTransactions for calendar events 2015-04-28 06:26:48 -07:00
PhabricatorCalendarExportQuery.php Provide a default "loadPage()" implementation on "CursorPagedPolicyAwareQuery" 2022-05-24 10:18:53 -07:00
PhabricatorCalendarExportSearchEngine.php Reduce application search engine results list for Dashboards 2017-02-22 12:42:43 -08:00
PhabricatorCalendarExportTransactionQuery.php Make more of the Calendar export workflow work 2016-10-06 04:14:29 -07:00
PhabricatorCalendarExternalInviteeQuery.php Provide a default "loadPage()" implementation on "CursorPagedPolicyAwareQuery" 2022-05-24 10:18:53 -07:00
PhabricatorCalendarImportLogQuery.php Provide a default "loadPage()" implementation on "CursorPagedPolicyAwareQuery" 2022-05-24 10:18:53 -07:00
PhabricatorCalendarImportLogSearchEngine.php Reduce application search engine results list for Dashboards 2017-02-22 12:42:43 -08:00
PhabricatorCalendarImportQuery.php Provide a default "loadPage()" implementation on "CursorPagedPolicyAwareQuery" 2022-05-24 10:18:53 -07:00
PhabricatorCalendarImportSearchEngine.php Reduce application search engine results list for Dashboards 2017-02-22 12:42:43 -08:00
PhabricatorCalendarImportTransactionQuery.php Prepare for event imports in Calendar 2016-10-12 10:45:31 -07:00