drush en flashpoint_course_module
The following extensions will be enabled: flashpoint_course_module, flashpoint_course_content, flashpoint_course
Do you really want to continue? (y/n): y
Declaration of [warning]
Drupal\flashpoint_course\Plugin\Field\FieldWidget\FlashpointCourseMembershipWidget::getOptions($entity)
should be compatible with
Drupal\Core\Field\Plugin\Field\FieldWidget\OptionsWidgetBase::getOptions(Drupal\Core\Entity\FieldableEntityInterface
$entity) FlashpointCourseMembershipWidget.php:84
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "flashpoint_course_module" entity [error]
type does not exist.

Comments

SocialNicheGuru created an issue. See original summary.

socialnicheguru’s picture

Title: Cannot install flashpoint_course_module » Cannot install flashpoint_course_module: Drupal\Component\Plugin\Exception\PluginNotFoundException: The "flashpoint_course_module" entity [error]
Priority: Major » Critical

I do not think that an entity type "flashpoint_course_module" is defined.

It is referenced throughout and I also see the field instance and storage config files.

laboratory.mike’s picture

Priority: Critical » Major
Status: Active » Needs work

I have found the issue: there is a particular config, /flashpoint_course_content/config/install/views.view.flashpoint_manage_course_content.yml , which includes references to the course module entity. Since I want the dependencies to work as flashpoint > flashpoint_course > flashpoint_course_content > flashpoint_course_module, what I am going to do is set up the install hook for flashpoint_course_module so that it edits the view config when installing.

while it throws an error, the practical effect is that one management view isn't installed. It can still be installed if you also enable flashpoint_course_module.

laboratory.mike’s picture

Priority: Major » Critical
Status: Needs work » Patch (to be ported)

OK, patch is now in dev, but dev is ~2/3 of the way to the alpha20 release now, which means it is not safe to use on production sites. However, the only remaining part is writing the install hook for existing sites (testing that tonight), so for new sites it should be ok.

laboratory.mike’s picture

Status: Patch (to be ported) » Fixed

Now that the patch is in dev, update discussion is being moved to #3075532: Course namespace update (8.x-1.0-alpha20 update) .

laboratory.mike’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.