In entity_reference_revisions issue #2673076-27: Investigate loading pattern of field_collection it's mentioned that with provided patch paragraphs tests are failing.

I have investigated problem a bit deeper and I have found that tests ware failing also without the patch.
Next step was manual testing of the test procedure, where I copied test code in a separate script and execute it => and I got expected results.
That led to the conclusion that some internal storage caching could be a problem.

In the end, it was entity storage cache, where simple invalidation for testing relevant entity IDs was sufficient.

CommentFileSizeAuthor
#5 2961469-5.patch2.32 KBberdir
#2 2961469_2.patch1.69 KBmtodor

Comments

mtodor created an issue. See original summary.

mtodor’s picture

Here is a proposal for the solution.

mtodor’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 2: 2961469_2.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

berdir’s picture

Status: Needs work » Needs review
StatusFileSize
new2.32 KB

Lets also add the search_api change while we're fixing things.

berdir’s picture

Status: Needs review » Reviewed & tested by the community
berdir’s picture

Status: Reviewed & tested by the community » Fixed

Committed.

  • Berdir committed 2ea25f1 on 8.x-1.x
    Issue #2961469 by mtodor, Berdir: Failed tests for paragraphs...
miro_dietiker’s picture

Status: Reviewed & tested by the community » Fixed

Hmm status inconsistencies.

Status: Fixed » Closed (fixed)

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