Steps to reproduce:

  1. Install module
  2. Create new XML sitemap
  3. Save it
  4. Rename created XML sitemap
  5. Save it
  6. You receive error

The website encountered an unexpected error. Please try again later.
AssertionError: Cannot load a NULL ID. in assert() (line 249 of core/lib/Drupal/Core/Entity/EntityStorageBase.php).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Romixua created an issue. See original summary.

Romixua’s picture

Status: Active » Needs review
FileSize
481 bytes

Here fix for this issue.

Romixua’s picture

Assigned: Romixua » Unassigned
pifagor’s picture

Look good

alex_optim’s picture

Status: Needs review » Reviewed & tested by the community

Good for me too.

SabitDev’s picture

In my case, works good

pifagor’s picture

  • pifagor committed a597b2a on 8.x-1.x authored by Romixua
    Issue #3087560 by Romixua, pifagor, alex_optim, SabitDev: Error during...
pifagor’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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