Upgrade Sitemap 1.5 => 2.0 beta4 Doesn't display the sitemap anymore

Created on 1 March 2024, 7 months ago
Updated 2 March 2024, 7 months ago

Problem/Motivation

After upgrading sitemap, i didn't see anymore the site map.

below an extract of my sitemap.html.twig

<div{{ sitemap_items.menu_main.attributes.addClass('sitemap-box') }}>
                {% if sitemap_items.menu_main.options.show_titles %}
                    <h2>{{ sitemap_items.menu_main.title }}</h2>
                {% endif %}
                <div class="content">
                    {{ sitemap_items.menu_main.content }}
                </div>
            </div>

I dump the sitemap_items variable, the variable is not null but menu_main is undefined

Steps to reproduce

Upgrade sitemap 1.5 to 2.0 during an Drupal Upgrade 9.5.4

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

💬 Support request
Status

Active

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024