Generate extension creates 999 sitemap XML files #974
-
Dear Anna, thanks for the Generate extension. I use it for a couple of websites, and I am switching completely to static sites. A great experience. Still, there is one site that is causing me to scratch my head. I have the latest version of Yellow Core 0.9.9 on this particular site, all extensions are up-to-date. So what happens is this: After the command line ( What happens during the "pause" is this: In the /public/sitemap/ folder, the Generate extension creates:
Is there an explanation and maybe a fix for this? Cheers, Carsten |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Does this also happen in a fresh installation plus sitemap? Do you know how to reproduce the problem? |
Beta Was this translation helpful? Give feedback.
-
Thank you for the bug report. I changed how locations with arguments are handled and updated the static generator. Here are some technical explanations in case we come back to this bug later. The root cause was not a faulty layout file, but rather how we handled location arguments internally. The static generator has to generate an entire website in advance. It has to analyse and detect all pages that have tags and paginations. As far as I can see in the code base history, a defect has been introduced over two years ago. The pagination has been moved from the extension files to layout files. What should have been a mandatory exit condition has become optional. Summa summarum, the mentioned Should be fixed now, please try it out. |
Beta Was this translation helpful? Give feedback.
Thank you for the bug report. I changed how locations with arguments are handled and updated the static generator. Here are some technical explanations in case we come back to this bug later. The root cause was not a faulty layout file, but rather how we handled location arguments internally. The static generator has to generate an entire website in advance. It has to analyse and detect all pages that have tags and paginations. As far as I can see in the code base history, a defect has been introduced over two years ago. The pagination has been moved from the extension files to layout files. What should have been a mandatory exit condition has become optional. Summa summarum, the mentioned
…