,

Problem/Motivation

opigno_calendar has added a new field_calendar_event_members which requires members to be added to an event for it to show up on the calendar.

This means that any previous global events (i.e. before this field was added) will fail to show for any users, because they don't have any members populated, also means it's not possible to add new global events.

Relatedly, opigno_calendar_event_opigno_calendar_event_form_validate should be in opigno_calendar_event module, but is actually in opigno_calendar_module

Steps to reproduce

Proposed resolution

Would suggest either making this behaviour configurable, or moving it to a new calendar bundle.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

catch created an issue. See original summary.

catch’s picture

It looks like opigno_calendar_form_alter() already checks if the field exists, but the validation logic and hook_views_query_alter() implementations don't. So adding a field existence check in both of those places would make the entire logic optional.

axelm’s picture

Hi @catch
It will be fixed in Opigno 2.22
Calendar events without any user assigned will be considered as global events and displayed for everybody.

axelm’s picture

Status: Active » Patch (to be ported)
elusivemind’s picture

Is a patch available for this?

axelm’s picture

Hi @ElusiveMind
There is no patch but the new release is coming very soon (on June 4th)

axelm’s picture

Released in Opigno 2.23

axelm’s picture

Status: Patch (to be ported) » Fixed
axelm’s picture

Status: Fixed » Closed (fixed)