Problem/Motivation

Setting up inheritance is useful when displaying multiple event instances from the same event series because the instances frequently need to share the same information.

Steps to reproduce

  • Set up with versions Drupal 9.5.8, Recurring Events 2.0.0-rc7, Field Inheritance 2.0.0-rc6
  • Set up Event Series/Instance type.
  • Connect two fields - Source: Event Series. Destination: Event Instance via Inheritance (fallback type)
  • Create an Event Series with Source field filled out.
  • Hit the Add Instance Button
  • The instance created won't properly display the inherited value.

Proposed resolution

An Event Instance created via the Add Instance button should function in the same way as events generated when the Event Series is created with respect to Inherited Fields.
It would also be nice to have the option to hide that button via permissions or a setting option.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

Rotekian created an issue. See original summary.

owenbush’s picture

Thank you for raising this bug, I'll try and take a look soon.

ras-ben’s picture

This appears to still be an issue.

ras-ben’s picture

After digging, I realized it's cause the field_inheritance module only has a single, very broad permission.

Here's a patch:

https://www.drupal.org/project/field_inheritance/issues/3454350

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.