Editing link in textfield on paragraph results in deleted paragraph

Created on 1 March 2023, almost 2 years ago
Updated 6 November 2023, about 1 year ago

Problem/Motivation

When editing a link in a paragraph field that is set to be checked, results in the paragraph being deleted.

Steps to reproduce

- Have a Paragraph with textfield and set it to be checked by LinkChecker.
- Create a new item of the paragraph, add a link to the content, and save.
- Edit the newly created paragraph and edit the link to another link, and save.
- Observe that the paragraph is deleted.

Proposed resolution

I can see it happens in line 163 in LinkCleanUp.php, because when I remove the line, the paragraph keeps existing.
I haven't looked further into it.

$storage->delete($linksToDelete);

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇩🇰Denmark nicklasmf

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024