When a source is removed from the mapping, the Tamper plugins that apply to that source need to be removed as well.

Comments

MegaChriz created an issue. See original summary.

megachriz’s picture

Status: Active » Needs review
StatusFileSize
new3.69 KB

Worked on a test.

The test cannot complete properly yet, because the tamper plugins do not have config schema yet.

Status: Needs review » Needs work

The last submitted patch, 2: feeds_tamper-remove-tamper-plugins-2974289-2-tests-only.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

megachriz’s picture

Status: Needs work » Needs review
Related issues: +#2975427: Add config schema for each Tamper plugin
StatusFileSize
new10.42 KB

The given patch should fix the issue. However, tests will fail until #2975427: Add config schema for each Tamper plugin is fixed.

I also had to introduce an API change: when removing a Tamper the feed type should not automatically get saved. Else that could potentially introduce an endless loop.

Status: Needs review » Needs work

The last submitted patch, 4: feeds_tamper-remove-tamper-plugins-2974289-4.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

megachriz’s picture

Status: Needs work » Needs review
StatusFileSize
new8.38 KB

Reroll (needed because a patch for #2949203: Add UI tests was committed in which partly the same changes were made).

Status: Needs review » Needs work

The last submitted patch, 6: feeds_tamper-remove-tamper-plugins-2974289-6.patch, failed testing. View results

megachriz’s picture

Status: Needs work » Needs review
StatusFileSize
new8.38 KB

Reroll again.

  • MegaChriz committed a58bfc9 on 8.x-2.x
    Issue #2974289 by MegaChriz: Fixed remove tamper plugin instances when...
megachriz’s picture

Status: Needs review » Fixed

Committed #8.

Status: Fixed » Closed (fixed)

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