Closed (fixed)
Project:
Pagedesigner
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Sep 2023 at 08:40 UTC
Updated:
7 Nov 2023 at 09:24 UTC
Jump to comment: Most recent
Drupal\pagedesigner\Plugin\DataType\PagedesignerData::getContent() raise an error if no root element match the provided $root_id
Encapsulate the function in an if $root != NULL (see fork)
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
pvbergen commentedComment #4
pvbergen commentedI would propose to set $this->processes to an empty string in this case. This would represent an empty output, returning null upstream might cause other problems.
Comment #5
pvbergen commentedComment #6
pvbergen commentedComment #8
pvbergen commented