Clean drupal 8.8.2 install, with both File and Image core modules enabled (Media is not enabled). I am trying to import files using CSV upload fetcher/parser and the File processor, but when adding mapping, the "File ID" field is not a target option, only the file attributes (file mime, filesize, filename, langcode, etc. please see screenshot)

I have tested a similar mapping on a separate install of drupal 8.8.2, but with Media module enabled, and using the Media processor, which gave the File ID option (screen-2.png). Maybe I'm missing a step or config?

CommentFileSizeAuthor
screen-2.png15.11 KBchill5-0
screen-1.png72.42 KBchill5-0

Comments

chill5-0 created an issue. See original summary.

megachriz’s picture

Status: Active » Closed (duplicate)

I think this is because there's no mapping target for entity ID yet. Adding a target like that is complicated, mostly in the case of update entities: when an ID is set it usually cannot be changed (or maybe it can, but then everything linked to the entity in question gets unlinked).

There's an issue open for this: #2989279: Add a target to entity ID
Closing this one as a duplicate of that one. Feel free to reopen if I'm mistaken by my assumption.