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