Undefined array key "target_bundles" NodeOrderManager.php:250

Created on 30 January 2025, 2 months ago

Problem/Motivation

When a node has an entity reference field using a view, Node Order will through a warning :

 [warning] Undefined array key "target_bundles" NodeOrderManager.php:250
 [warning] foreach() argument must be of type array|object, null given NodeOrderManager.php:250

Steps to reproduce

  1. Create a node with an entity reference field using a view
  2. Create a new node

Proposed resolution

  1. Add a condition to avoid the warning
  2. Analyse the view to determine if it is a taxonomy term view

Remaining tasks

Analyse the view to determine if it is a taxonomy term view.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇫🇷France Nixou Toulon

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

Comments & Activities

Production build 0.71.5 2024