Description
Steps to reproduce the issue
- Enable the Schemaorg plugin.
- Create an article category, Category1;
- Create a new articles, Article1, highlight it and put it in Category1;
- In the Home menu enable "only highlight articles";
- Create a new module breadcrumb, Breadcrumb1 and assign the banner position. This module have ID:17;
- Create a new module breadcrumb, Breadcrumb2 and assign the breadcrumbs position. This module have ID:110;
Expected result
In the first script there is a breadcrumb with ID 17. In the second script in the breadcrumb section the ID of the first is correctly called.
<script type="application/ld+json">{"@context":"https://schema.org","@type":"BreadcrumbList","@id":"http://localhost/joomla-pulita/#/schema/BreadcrumbList/17","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"http://localhost/joomla-pulita/","name":"Home"}},{"@type":"ListItem","position":2,"item":{"@id":"http://localhost/joomla-pulita/component/content/category/category1","name":"Category1"}},{"@type":"ListItem","position":3,"item":{"name":"Article1"}}]}</script>
<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"http://localhost/joomla-pulita/#/schema/Organization/base","name":"Joomla Test","url":"http://localhost/joomla-pulita/"},{"@type":"WebSite","@id":"http://localhost/joomla-pulita/#/schema/WebSite/base","url":"http://localhost/joomla-pulita/","name":"Joomla Test","publisher":{"@id":"http://localhost/joomla-pulita/#/schema/Organization/base"}},{"@type":"WebPage","@id":"http://localhost/joomla-pulita/#/schema/WebPage/base","url":"http://localhost/joomla-pulita/component/content/article/article1?catid=2","name":"Article1","isPartOf":{"@id":"http://localhost/joomla-pulita/#/schema/WebSite/base"},"about":{"@id":"http://localhost/joomla-pulita/#/schema/Organization/base"},"inLanguage":"it-IT","breadcrumb":{"@id":"http://localhost/joomla-pulita/#/schema/BreadcrumbList/17"}},{"@type":"Article","@id":"http://localhost/joomla-pulita/#/schema/com_content/article/1","name":"Article1","headline":"Article1","inLanguage":"it-IT","author":{"@type":"Person","name":"Walturbo"},"articleSection":"Category1","dateCreated":"2025-05-12T09:49:28+00:00","interactionStatistic":{"@type":"InteractionCounter","userInteractionCount":33},"isPartOf":{"@id":"http://localhost/joomla-pulita/#/schema/WebPage/base"}}]}</script>
http://localhost/joomla-pulita/#/schema/BreadcrumbList/17 must be identical in both scripts otherwise the guidelines are not respected and the snippet is incorrect.
Actual result
The breadcrumb ID of the first and second script are not identical, the first one contains the ID 100 while the second one contains the ID 17. This also generates an error on Google Search Console, that markout will not be shown in the search results.
This is test on GSC: https://search.google.com/test/rich-results/result?id=ri7p2TnjVBXXhFJJzLcdVQ
<script type="application/ld+json">{"@context":"https://schema.org","@type":"BreadcrumbList","@id":"http://localhost/joomla-pulita/#/schema/BreadcrumbList/110","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"http://localhost/joomla-pulita/","name":"Home"}},{"@type":"ListItem","position":2,"item":{"@id":"http://localhost/joomla-pulita/component/content/category/category1","name":"Category1"}},{"@type":"ListItem","position":3,"item":{"name":"Article1"}}]}</script>
<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"http://localhost/joomla-pulita/#/schema/Organization/base","name":"Joomla Test","url":"http://localhost/joomla-pulita/"},{"@type":"WebSite","@id":"http://localhost/joomla-pulita/#/schema/WebSite/base","url":"http://localhost/joomla-pulita/","name":"Joomla Test","publisher":{"@id":"http://localhost/joomla-pulita/#/schema/Organization/base"}},{"@type":"WebPage","@id":"http://localhost/joomla-pulita/#/schema/WebPage/base","url":"http://localhost/joomla-pulita/component/content/article/article1?catid=2","name":"Article1","isPartOf":{"@id":"http://localhost/joomla-pulita/#/schema/WebSite/base"},"about":{"@id":"http://localhost/joomla-pulita/#/schema/Organization/base"},"inLanguage":"it-IT","breadcrumb":{"@id":"http://localhost/joomla-pulita/#/schema/BreadcrumbList/17"}},{"@type":"Article","@id":"http://localhost/joomla-pulita/#/schema/com_content/article/1","name":"Article1","headline":"Article1","inLanguage":"it-IT","author":{"@type":"Person","name":"Walturbo"},"articleSection":"Category1","dateCreated":"2025-05-12T09:49:28+00:00","interactionStatistic":{"@type":"InteractionCounter","userInteractionCount":33},"isPartOf":{"@id":"http://localhost/joomla-pulita/#/schema/WebPage/base"}}]}</script>
System information (as much as possible)
- Joomla 5.3
- PHP 8.3.20
- MySQLi 10.6.20-MariaDB-cll-lve
- Multilanguage ON
- Cassiopeia
Additional comments
If I disable the module with ID 110 everything goes back to normal.