"Error importing content of type ."

I am trying to import a location node that I made that has a geofield part and an address part.

I think the error comes up when you are importing an entity of '' or the empty string. It could also throw an error when it reaches null. I am not sure.

How to reproduce
Try to import either of the attached files. Both are not much more than a geofielded address, location, and a name.
Make sure Location and GeoField modules are installed.

As a side note, I get a random warning that dumps paths from Blancas VM/dev environment

Comments

abychkov created an issue. See original summary.

sudishth’s picture

Status: Active » Needs review
StatusFileSize
new596 bytes

$this->entityManager = $entity_manager;
add this in ContentEntityNormalizer construct

or apply this patch

summit’s picture

Hi, Yes, this patch worked great! thanks for making this, and please commit.
greetings, Martijn

chegor’s picture

Status: Needs review » Reviewed & tested by the community

  • abychkov authored 67f6f0e on 8.x-2.x
    Issue #3076902 by sudishth, abychkov, Summit, chegor: Error importing...
blanca.esqueda’s picture

Version: 8.x-2.1 » 8.x-2.x-dev

Thank you,
Patch has been added to 8.x-2.dev

Important: To use 8.x-2.dev the module has to be installed and reinstalled as the content file tree structure has been changed. And the same version has to be used for the source and target sites.

blanca.esqueda’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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