Closed (fixed)
Project:
Domain Access Simple XML Sitemap
Version:
8.x-1.0-beta7
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
25 Jul 2017 at 20:19 UTC
Updated:
25 Aug 2017 at 07:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
josephdpurcell commentedAfter digging in, I have some clarity on this issue. Looking at the call stack:
We can conclude that when Drupal\simple_sitemap\Batch\Batch::start() gets called, and it runs the "nobatch" case (see line 80), that
this->batch['operations']is an empty array. Consequently, $context never gets modified, making$context['results']a NULL value.I am not certain, without more digging, how the generation should be properly triggered.
I am proposing that on install, the sitemap does not get generated automatically and have attached a patch for this.
Comment #3
josephdpurcell commentedSetting to needs review.
Comment #4
keopxThanks @josephdpurcell
I am not sure with solution, but probably is good idea not buil sitemap on install process.
Give me time to review this.
Comment #6
keopxThank you @josephdpurcell