Closed tom-rade closed 5 years ago
So let me get this right: you deleted a topic in which the main post had an event, and after doing so the calendar view stopped working?
I'll look into it and see if I can reproduce.
@pitaj Yes, with the error: Cannot read property 'pid' of null
No events get loaded. Just an empty calendar appears.
@pitaj I tried it again, and yes, that is the case.
I'm having trouble reproducing this. Was the topic or post purged? Can you grab the whole client-side error including the stack trace? Thanks.
I've done what I can to try to remedy these issues. Try nodebb-plugin-calendar@1.0.0-alpha.45
. Also, try editing and saving any posts with events in them, that may fix the problems you're seeing.
When visiting my calendar after deleting topics with events, I get this error:
Cannot read property 'pid' of null
I don't see any events anymore.
Alongside with this in the console: