Problem/Motivation

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork paragraphs-3562990

Command icon Show commands

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

berdir created an issue. See original summary.

berdir’s picture

Status: Active » Needs review
berdir’s picture

Title: Avoid fiber related test failure in Drupal 11.3 » Avoid fiber related test failure in Drupal 11.3 and other test fixes.

  • berdir committed f233bedb on 8.x-1.x
    feat: #3562990 Avoid fiber related test failure in Drupal 11.3 and other...
berdir’s picture

Status: Needs review » Fixed

Merged.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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

kenwest’s picture

My apologies for going off-topic, but I may have a similar issue. Did the Fiber-related failure you experienced give a message like ...

Warning: Undefined property: Drupal\Core\Field\EntityReferenceFieldItemList::$entity in FUNCTION() ...

I'm having an issue with the Domain module and noticed your fix to line 42 of modules/paragraphs_library/src/LibraryItemAccessControlHandler.php in commit 23751df4359fdf88769104bd843dbea9509bf651 was very similar to the code that I'm having trouble with: line 117 of domain_source/domain_source.module. And when I step through the code in my IDE, the failure is associated with the Fiber being suspended and resumed.

If my problem is analogous to yours, could you offer pointers? Eg how does your change fix the problem?

Thanks for your attention!

kenwest’s picture

Thanks for the pointer - applying an analogous change to the Domain module prevented the warning (see links in my previous comment).

Is this a general issue with Fibers?