Adding new activity type results in WSOD

Created on 17 December 2020, almost 4 years ago
Updated 17 January 2024, 10 months ago

Problem/Motivation

After adding a new activity type and creating an activity of that type within a module, trying to navigate through activities results in WSOD

Steps to reproduce

* create new activity type "File Download" with fields "Description" and "File Attachment"
* Go to an existing module, and add a "File Download" activity to it
* Add another activity after that, or a core opigno type
* Navigate to the activity, e.g. group/1/module/2/answer/3
* Click "Next"
* WSOD occurs
* PHP error is :

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "entity:opigno_answer:file_download" plugin does not exist. Valid plugin IDs for Drupal\Core\TypedData\TypedDataManager are: entity_revision_reference, entity_revision, entity_revision:block, entity_revision:block_content_type, entity_revision:block_content, entity_revision:block_content:basic, entity_revision:comment_type, entity_revision:comment, entity_revision:comment:comment_forum, entity_revision:contact_message, entity_revision:contact_message:feedback, entity_revision:contact_message:personal, entity_revision:contact_form, entity_revision:editor, entity_revision:embed_button, entity_revision:entity_browser, entity_revision:entity_embed_fake_entity, entity_revision:print_engine, entity_revision:field_storage_config, entity_revision:field_config, entity_revision:file, entity_revision:filter_format, entity_revision:group, entity_revision:group:learning_path, entity_revision:group:opigno_class, entity_revision:group:opigno_course, entity_revision:group_type, entity_revision:group_role, entity_revision:group_content, entity_revision:group_content:group_content_type_162f6c7e7c4fa, entity_revision:group_content:group_content_type_27efa0097d858, entity_revision:group_content:group_content_type_411cfb95b8271, entity_revision:group_content:group_content_type_78b202c274a0f, entity_revision:group_content:group_content_type_af9d804582e19, entity_revision:group_content:learning_path-group_membership, entity_revision:group_content:learning_path-group_node-forum, entity_revision:group_content:learning_path-opigno_ilt_group, entity_revision:group_content:opigno_class-group_membership, entity_revision:group_content:opigno_course-group_membership, entity_revision:group_content_type, entity_revision:h5p_content, entity_revision:image_style, entity_revision:media_type, entity_revision:media, entity_revision:media:audio, entity_revision:media:image, entity_revision:media:image_png, entity_revision:media:pdf_file, entity_revision:media:tft_file, entity_revision:media:video, entity_revision:menu_link_content, entity_revision:menu_link_content:menu_link_content, entity_revision:message_template, entity_revision:message, entity_revision:message:private_message_notification, entity_revision:node, entity_revision:node:forum, entity_revision:node:page, entity_revision:node_type, entity_revision:opigno_calendar_event, entity_revision:opigno_calendar_event:ilt_calendar_event, entity_revision:opigno_calendar_event:meeting_calendar_event, entity_revision:opigno_calendar_event:opigno_calendar_event, entity_revision:opigno_calendar_event_type, entity_revision:opigno_certificate, entity_revision:opigno_certificate:wysiwyg, entity_revision:opigno_certificate:template, entity_revision:opigno_group_link, entity_revision:opigno_group_content, entity_revision:opigno_ilt_result, entity_revision:opigno_ilt, entity_revision:opigno_latest_group_activity, entity_revision:learning_path_link, entity_revision:lp_module_availability, entity_revision:learning_path_result, entity_revision:learning_path_content, entity_revision:user_lp_status, entity_revision:opigno_answer, entity_revision:opigno_answer:opigno_file_upload, entity_revision:opigno_answer:opigno_h5p, entity_revision:opigno_answer:opigno_long_answer, entity_revision:opigno_answer:opigno_scorm, entity_revision:opigno_answer:opigno_slide, entity_revision:opigno_answer:opigno_tincan, entity_revision:opigno_answer:opigno_true_false, entity_revision:opigno_answer:opigno_video, entity_revision:opigno_activity_type, entity_revision:opigno_module, entity_revision:user_module_status, entity_revision:opigno_activity, entity_revision:opigno_activity:file_download, entity_revision:opigno_activity:opigno_file_upload, entity_revision:opigno_activity:opigno_h5p, entity_revision:opigno_activity:opigno_long_answer, entity_revision:opigno_activity:opigno_scorm, entity_revision:opigno_activity:opigno_slide, entity_revision:opigno_activity:opigno_tincan, entity_revision:opigno_activity:opigno_video, entity_revision:opigno_answer_type, entity_revision:opigno_moxtra_meeting_result, entity_revision:opigno_moxtra_meeting, entity_revision:opigno_moxtra_workspace, entity_revision:opigno_notification, entity_revision:path_alias, entity_revision:pm_thread_access_time, entity_revision:private_message_thread, entity_revision:pm_thread_delete_time, entity_revision:private_message, entity_revision:rdf_mapping, entity_revision:search_api_task, entity_revision:search_api_index, entity_revision:search_api_server, entity_revision:shortcut_set, entity_revision:shortcut, entity_revision:shortcut:default, entity_revision:action, entity_revision:menu, entity_revision:taxonomy_vocabulary, entity_revision:taxonomy_term, entity_revision:taxonomy_term:forums, entity_revision:taxonomy_term:learning_path_category, entity_revision:taxonomy_term:skills, entity_revision:taxonomy_term:tags, entity_revision:taxonomy_term:tft_tree, entity_revision:tour, entity_revision:ultimate_cron_job, entity_revision:user, entity_revision:user_role, entity_revision:userprotect_rule, entity_revision:view, entity_revision:base_field_override, entity_revision:entity_form_display, entity_revision:entity_form_mode, entity_revision:entity_view_mode, entity_revision:entity_view_display, entity_revision:date_format, filter_format, search_api_html, search_api_text, field_item:comment, field_item:datetime, field_item:daterange, field_item:entity_reference_revisions, field_item:file, field_item:file_uri, field_item:h5p, field_item:image, field_item:link, field_item:view_mode_selector, field_item:opigno_evaluation_method, field_item:opigno_true_false_field, field_item:opigno_scorm_package, field_item:opigno_tincan_package, field_item:list_float, field_item:list_integer, field_item:list_string, field_item:path, field_item:text_long, field_item:text_with_summary, field_item:text, field_item:video, field_item:integer, field_item:float, field_item:map, field_item:password, field_item:timestamp, field_item:string_long, field_item:language, field_item:string, field_item:changed, field_item:decimal, field_item:boolean, field_item:created, field_item:entity_reference, field_item:email, field_item:uuid, field_item:uri, entity_reference, entity, entity:block, entity:block_content_type, entity:block_content, entity:block_content:basic, entity:comment_type, entity:comment, entity:comment:comment_forum, entity:contact_message, entity:contact_message:feedback, entity:contact_message:personal, entity:contact_form, entity:editor, entity:embed_button, entity:entity_browser, entity:entity_embed_fake_entity, entity:print_engine, entity:field_storage_config, entity:field_config, entity:file, entity:filter_format, entity:group, entity:group:learning_path, entity:group:opigno_class, entity:group:opigno_course, entity:group_type, entity:group_role, entity:group_content, entity:group_content:group_content_type_162f6c7e7c4fa, entity:group_content:group_content_type_27efa0097d858, entity:group_content:group_content_type_411cfb95b8271, entity:group_content:group_content_type_78b202c274a0f, entity:group_content:group_content_type_af9d804582e19, entity:group_content:learning_path-group_membership, entity:group_content:learning_path-group_node-forum, entity:group_content:learning_path-opigno_ilt_group, entity:group_content:opigno_class-group_membership, entity:group_content:opigno_course-group_membership, entity:group_content_type, entity:h5p_content, entity:image_style, entity:media_type, entity:media, entity:media:audio, entity:media:image, entity:media:image_png, entity:media:pdf_file, entity:media:tft_file, entity:media:video, entity:menu_link_content, entity:menu_link_content:menu_link_content, entity:message_template, entity:message, entity:message:private_message_notification, entity:node, entity:node:forum, entity:node:page, entity:node_type, entity:opigno_calendar_event, entity:opigno_calendar_event:ilt_calendar_event, entity:opigno_calendar_event:meeting_calendar_event, entity:opigno_calendar_event:opigno_calendar_event, entity:opigno_calendar_event_type, entity:opigno_certificate, entity:opigno_certificate:wysiwyg, entity:opigno_certificate:template, entity:opigno_group_link, entity:opigno_group_content, entity:opigno_ilt_result, entity:opigno_ilt, entity:opigno_latest_group_activity, entity:learning_path_link, entity:lp_module_availability, entity:learning_path_result, entity:learning_path_content, entity:user_lp_status, entity:opigno_answer, entity:opigno_answer:opigno_file_upload, entity:opigno_answer:opigno_h5p, entity:opigno_answer:opigno_long_answer, entity:opigno_answer:opigno_scorm, entity:opigno_answer:opigno_slide, entity:opigno_answer:opigno_tincan, entity:opigno_answer:opigno_true_false, entity:opigno_answer:opigno_video, entity:opigno_activity_type, entity:opigno_module, entity:user_module_status, entity:opigno_activity, entity:opigno_activity:file_download, entity:opigno_activity:opigno_file_upload, entity:opigno_activity:opigno_h5p, entity:opigno_activity:opigno_long_answer, entity:opigno_activity:opigno_scorm, entity:opigno_activity:opigno_slide, entity:opigno_activity:opigno_tincan, entity:opigno_activity:opigno_video, entity:opigno_answer_type, entity:opigno_moxtra_meeting_result, entity:opigno_moxtra_meeting, entity:opigno_moxtra_workspace, entity:opigno_notification, entity:path_alias, entity:pm_thread_access_time, entity:private_message_thread, entity:pm_thread_delete_time, entity:private_message, entity:rdf_mapping, entity:search_api_task, entity:search_api_index, entity:search_api_server, entity:shortcut_set, entity:shortcut, entity:shortcut:default, entity:action, entity:menu, entity:taxonomy_vocabulary, entity:taxonomy_term, entity:taxonomy_term:forums, entity:taxonomy_term:learning_path_category, entity:taxonomy_term:skills, entity:taxonomy_term:tags, entity:taxonomy_term:tft_tree, entity:tour, entity:ultimate_cron_job, entity:user, entity:user_role, entity:userprotect_rule, entity:view, entity:base_field_override, entity:entity_form_display, entity:entity_form_mode, entity:entity_view_mode, entity:entity_view_display, entity:date_format, timespan, any, integer, map, duration_iso8601, language, binary, list, timestamp, language_reference, float, datetime_iso8601, uri, string, boolean, email in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of /code/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).

Proposed resolution

* ?

Remaining tasks

* ?

User interface changes

* ?

API changes

* ?

Data model changes

* ?

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States AaronBauman Philadelphia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024