Problem/Motivation

I installed the module and did my first search and got this error:

Call to undefined method Drupal\paragraphs\Entity\Paragraph::getTitle() in Drupal\scanner\Plugin\Scanner\Paragraph->search() (line 84 of modules/contrib/scanner/src/Plugin/Scanner/Paragraph.php

I can see this is already mentioned at the end of issue 3196119 but was suggested this bug should live in it's own ticket. So here it is.

Steps to reproduce

Do a search that includes paragraphs. Possibly requires nesting?

Proposed resolution

Replace call to getTitle() with label()

Issue fork scanner-3564664

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

dahousecat created an issue. See original summary.

dahousecat’s picture

rimi@aarhus.dk made their first commit to this issue’s fork.

damienmckenna made their first commit to this issue’s fork.

damienmckenna’s picture

Status: Active » Needs review

Thank you for the bug report, and for creating the merge request.

As a reminder, please update the status to "needs review" when you've created a merge request, that'll let others know there's something to look at.

damienmckenna’s picture

damienmckenna’s picture

damienmckenna’s picture

Version: 2.0.0-beta1 » 2.0.x-dev
damienmckenna’s picture

Status: Needs review » Fixed
Related issues: +#3577915: Make results display entity-type agnostic

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.

rimi@aarhus.dk’s picture

Thanks for the reminder on updating the status. I'm new to contributing to Drupal modules. Thanks!

Status: Fixed » Closed (fixed)

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