Problem/Motivation

Running the search for a phrase in a Paragraph library returns an error

Note that this does NOT happen when you go straight to a replace without first searching.

Steps to reproduce

Enable the Paragraphs sub-module Paragraphs Library.
Create a Paragraph Library Item.
Search for a text you entered in the Paragraph Library Item.

Proposed resolution

Support the paragraphs_library_item entity type.

Remaining tasks

Patch

Issue fork scanner-3294162

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

Papa Ours created an issue. See original summary.

jffranck’s picture

StatusFileSize
new22.99 KB

Here is a patch I made for this issue.

I also:

  • improved the way "view" and "edit" links were managed, so they can work with other entity types than node.
  • added support for search/replace in Paragraph libraries
jlicht’s picture

StatusFileSize
new616 bytes

Here's a different patch, which just removes the error (by skipping scanning of library items) rather than making more far-reaching changes.

damienmckenna’s picture

Status: Active » Needs review

Thank you for your work on this bug. Let's see what the testbot says.

smustgrave’s picture

Version: 8.x-1.0-rc6 » 2.0.x-dev
Status: Needs review » Needs work

Can the fix be put into an MR

  • smustgrave committed b466ae63 on 2.0.x
    Issue #3294162 by papa ours, jlicht: Errors on search-only for...
smustgrave’s picture

Status: Needs work » Fixed

saw this one something else random and #3 solved it for me.

Status: Fixed » Closed (fixed)

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

damienmckenna’s picture