Unpublish Selected Content does not unpublish the content

Created on 9 September 2019, over 5 years ago
Updated 23 August 2023, over 1 year ago

Drupal version: 8.7.3
PHP version: 7.2.21
feeds Version: 8.x-3.0-alpha5
Database Verision: 5.6.32

Fetcher: Download from url
Parser: JsonPath
Processor: Node

Feeds is not properly unpublishing content types.

Steps to recreate:
---------------
1) Go to Structure->Feed types and choose a feed to 'Edit'
2) Under 'Processor settings' . choose - The 'Unpublish Selected Content' option under the dropdown labeled 'Previously imported items'
and click 'Save'
3) The following error is thrown:

If we run a feed, and then run another feed it does not correctly unpublish the contents from the first feed.

Detailed steeps

Step 1

Import record: { id: 1, name: “1”}
Node “1” created & published.
Log:
Created 1 Exhibitor

Step 2

Import record: { id: 2, name: “2”}
Node “1” unpublished.
Node “2” created & published.
Log:
Cleaned 1 Exhibitor
Created 1 Exhibitor

Step 3

Import record: { id: 1, name: “1”}
Node “1” published.
Node “2” stays published.
Log:
Updated 1 Exhibitor

Step 4

Import record: { id: 1, name: “1”}
Node “1” published.
Node “2” unpublished.
Log:
Clean 1 Exhibitor
Updated 1 Exhibitor

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States ben.hamelin Adirondack Mountains, NY

    Just a quick question here as we are seeing this right now during some testing on a lower environment. In my case, the feed itself is the same (Feed ID 1) but the source file name was changed. During testing I reduced the size of the original file, and renamed it. Then after the next import, an item I expected to be unpublished was not.

    My direct question is whether the name of the source file being changed would cause the node to be disassociated with the feed?

Production build 0.71.5 2024