Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External calendar creation fails #5

Closed
verement opened this issue May 11, 2020 · 3 comments
Closed

External calendar creation fails #5

verement opened this issue May 11, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@verement
Copy link

When I attempt to add an external calendar, after clicking “Save” a new page briefly shows a notice at the bottom that says “Calendar successfully created!” but the top of the page shows an error message (“Oooops... It looks like you may have taken the wrong turn”): “Missing required parameters: id”.

There is no log message in the HumHub logs, and the external calendar does not in fact appear to be created.

HumHub version: 1.5.1
External Calendar version: 1.1.8

@verement
Copy link
Author

After some additional diagnosis, it appears the problem occurs when data validation of the new external calendar fails.

ExternalCalendar has a surprising maximum title length of 15 characters. There is no check at ICalSync.php:90 to see whether the call to save the calendar model fails.

@buddh4 buddh4 added the bug Something isn't working label May 30, 2020
@UtmostCreator
Copy link

I believe it was fixed before (by @buddh4), I have also added some validation if something is wrong.
#16

@buddh4
Copy link

buddh4 commented Jul 30, 2020

Yes is fixed and max title length was increased

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants