Removing process plugins for multiple properties at once does not work

Created on 12 September 2023, 10 months ago
Updated 29 May 2024, 30 days ago

Follow-up of πŸ› Last process plugin on a mapping row doesn't get removed Fixed

Problem/Motivation

Given you have mapped to a field that has multiple properties.
And you have configured a single process plugin for two of the properties.
And you have javascript disabled.
Then when you try to remove both process plugins, only one gets deleted.

Note: this issue is also used to add additional test coverage, because changes from πŸ› Failure when trying to add a process plugin after "Static map" Needs work breaks things when it comes to adding/removing process plugins for multi-property fields.

Steps to reproduce

  1. Make sure javascript is disabled.
  2. Creating a migration for node. Choose a content type that has a body field.
  3. Add mapping to the body field.
  4. Configure a process plugin for property 'Value' and a process plugin for property 'Summary'.
  5. Save.
  6. Go to the mapping edit form for the body field.
  7. For the property 'Value', remove the one and only configured process plugin. The page will reload. The process plugin appears to be removed.
  8. Now do the same for the propery 'Summary'.

Now the page reloads again, but for the property 'Value', the previously removed process plugin has reappeared.

Proposed resolution

TBD.

Remaining tasks

  1. Add test coverage
  2. Add a fix

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

User interface

Created by

πŸ‡³πŸ‡±Netherlands MegaChriz

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024