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

Bug: Profile Calendar hidden in select dropdown #453

Closed
felixhahnweilheim opened this issue Feb 5, 2024 · 3 comments
Closed

Bug: Profile Calendar hidden in select dropdown #453

felixhahnweilheim opened this issue Feb 5, 2024 · 3 comments

Comments

@felixhahnweilheim
Copy link
Contributor

Even if I activate the calendar in my profile I don't see the option when creating an event from global calendar.

Original post: https://community.humhub.com/content/perma?id=275108

Maybe this bug was introduced in #438 ?
@marc-farre

@marc-farre
Copy link
Contributor

@felixhahnweilheim I don't have this issue on my instances (HumHub 1.15 and 1.16 with latest version of the Calendar module).
Which version of HumHub and Calendar module are you using?

@felixhahnweilheim
Copy link
Contributor Author

latest stable: 1.15.2

Calendar 1.5.8

PHP 8.0

no error log

I am talking about the global calendar view. Clicking on the plus button or directly a time in the calendar.

I only see spaces to select as target calendar.

@marc-farre
Copy link
Contributor

marc-farre commented Feb 6, 2024

@luke- fixed in PR #454

Sorry for this bug I've introduced. I didn't think that $user->moduleManager->canEnable('calendar') would return false when the module is already enabled, even if it's logic (in my mind, it was checking if we are allowed to enable it).

@felixhahnweilheim thanks for reporting the bug!
Maybe you can rename this issue title by removing the "always" because it's only in the case where the calendar module is already enabled in the profile.

@luke- luke- closed this as completed in 424b34c Feb 6, 2024
luke- added a commit that referenced this issue Feb 6, 2024
…ailable-in-global-calendar

Fix #453: Profile Calendar not available when adding an event from th…
@felixhahnweilheim felixhahnweilheim changed the title Bug: Profile Calendar always hidden in select dropdown Bug: Profile Calendar hidden in select dropdown Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants