InvalidArgumentException: Field field_learning_path_forum is unknown.

Created on 9 July 2024, 10 months ago

Problem/Motivation

There is no direct relation to opigno_forum and if that module is disabled, the LearningPathGroupOperationsLink service calls the fields without checking if the field exists causing an error

Steps to reproduce

Disable opigno_forum module.
Confirm fields are not present in a Learning Path Group
Navigate to a Learning Path Group
Observe error

Proposed resolution

In the LearningPathGroupOperationsLinks::renderActionsDropdown() add a check at line 87 to see if field_learning_path_forum exists.

πŸ› Bug report
Status

Needs review

Version

3.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States markie Albuquerque, NM

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024