CSV importer with unique mapping imports nothing

Created on 8 January 2021, over 4 years ago
Updated 18 September 2024, 7 months ago

Problem/Motivation

If I set unique checkbox for title, feeds_item.guid, feeds_item.url sources then no items imported without errors or warnings. It happens with CSV importer only (download and upload fetcher). RSS/Atom parser works fine.

Steps to reproduce

  • Create new feed type with Download from URL fetcher and CSV parser.
  • Add mappings for title, body, feeds_item.url and feeds_item.guid sources.
  • Try to import. Node items imported correctly, but Feed produces duplicates.
  • Delete imported items.
  • Set Unique for title, feeds_item.url or feeds_item.guid source.
  • Try to import. The message "There are no new items" is shown. No items imported.

But if I use custom text field as unique source everything works as expected.

Feeds 8.x-3.x-dev. CSV file contains unique "title" and "guid" columns.

🐛 Bug report
Status

Closed: cannot reproduce

Version

3.0

Component

Code

Created by

🇷🇺Russia rozh

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.

  • 🇳🇱Netherlands megachriz

    I randomly selected this bug report. I cannot reproduce this issue with the steps provided.

    If this is still an issue, you may reopen it. But in that case I need:

    • The file you were trying to import.
    • An export of your feed type.

    And it would be good if you verify that the issue can reproduced using a clean install.

Production build 0.71.5 2024