You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, I encountered a strange behavior in either HumHub itself, the calendar module or a combination of both - unfortunately, I can not pinpoint it to a specific change / update I made - all I can say is that it was working as intended before (and until a few weeks ago). Also, I made some small modifications to the code, but I reviewed all of it and I think it's unlikely that it caused those issues.
Expected behavior:
When exporting the calendar using an ICAL/ICS export URL that includes "All my spaces" and "Profile entries", the URL should work both as logged in user and as guest (since other platforms like Google Calendar do not have any means to authenticate before syncing those URLs).
Current behavior:
Downloading the ICS file via the generated URL yields expected results when logged in (active browser session) and yields an empty (yet valid) ICS file when accessing it as guest (tested with incognito mode). Inspecting some of the intermediate code states, it seems like the database query gives an empty result array. I var_dump()ed the results in CalendarService->getCalendarItems() ang got valid results for the logged in user and an array(0) { } for guest access.
If you need some more information, feel free to ask! :-) I would also be glad to help on sorting this out (if it not caused by me after all), but my skills did not allow any further debugging or problem solving...
Edit: Taking a look into the $contentContainer-parameter of the function named above, it only contains the user "space" for guests (which obviously would be empty) and a list of spaces for logged in users. It could be the root of the problem?!
The text was updated successfully, but these errors were encountered:
The upgrade from HumHub 1.14.1 (I think) to 1.14.2 solved the issue. I took a look into the diff to see what might have been the reason but couldn't figure it out...
Hi there, I encountered a strange behavior in either HumHub itself, the calendar module or a combination of both - unfortunately, I can not pinpoint it to a specific change / update I made - all I can say is that it was working as intended before (and until a few weeks ago). Also, I made some small modifications to the code, but I reviewed all of it and I think it's unlikely that it caused those issues.
Expected behavior:
When exporting the calendar using an ICAL/ICS export URL that includes "All my spaces" and "Profile entries", the URL should work both as logged in user and as guest (since other platforms like Google Calendar do not have any means to authenticate before syncing those URLs).
Current behavior:
Downloading the ICS file via the generated URL yields expected results when logged in (active browser session) and yields an empty (yet valid) ICS file when accessing it as guest (tested with incognito mode). Inspecting some of the intermediate code states, it seems like the database query gives an empty result array. I
var_dump()
ed the results inCalendarService->getCalendarItems()
ang got valid results for the logged in user and anarray(0) { }
for guest access.If you need some more information, feel free to ask! :-) I would also be glad to help on sorting this out (if it not caused by me after all), but my skills did not allow any further debugging or problem solving...
Edit: Taking a look into the
$contentContainer
-parameter of the function named above, it only contains the user "space" for guests (which obviously would be empty) and a list of spaces for logged in users. It could be the root of the problem?!The text was updated successfully, but these errors were encountered: