Problem/Motivation

When I open "/node/add/event" there is an error:
view

Proposed resolution

Currently, in termIsVisibleForEntities(), there can be loaded terms that don't have a field_category_usage it causes an error and needs to add checks to prevent it

CommentFileSizeAuthor
Screenshot 2023-10-25 at 18.39.08.png408.32 KBsv

Comments

SV created an issue. See original summary.

sv’s picture

ronaldtebrake’s picture

Crediting as the other issue was already created with more info, seemed we missed that.

ribel’s picture

Title: Error on edit or create events and topics pages » Error on content creation pages related with field_category_usage
Version: 12.0.x-dev » 11.11.x-dev
Status: Active » Reviewed & tested by the community

PR was tested, reviewed, and merged.
Will be included in release 11.11.3 and above.

robertragas’s picture

Status: Reviewed & tested by the community » Fixed

  • ribel committed 8f33f075 on 11.11.x authored by SV
    Issue #3396674 by SV: Load term only from the related vocabulary to...

  • ribel committed 3a9b51a9 on 12.0.x authored by SV
    Issue #3396674 by SV: Load term only from the related vocabulary to...

Status: Fixed » Closed (fixed)

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