?
avatar ReLater
ReLater
28 Dec 2019

This issue is a find of @EJBJane (#27350 (review)) .

Steps to reproduce the issue

  • Create a tag "Joomla".

  • Add this tag to some articles.

  • Add intro images to these articles.

  • Create a menu item of type "Tagged Items":

27-12-_2019_14-56-50

  • Set "Item Image" to "Show"

28-12-_2019_14-49-39

Actual result

  • "Duplicate values for itemListElement.url are not allowed."
  • Reason: Two links marked as "url"
<li class="cat-list-row1 clearfix" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
    <h3 itemprop="name">
 
	   <a href="/xyz" itemprop="url">
		  Blah
	   </a>
 
    </h3>
 
    <a href="/xyz" itemprop="url">
	   <img src="/images/zyx" alt="" itemprop="image">
    </a>

    ... MORE CODE ...
</li>
avatar ReLater ReLater - open - 28 Dec 2019
avatar joomla-cms-bot joomla-cms-bot - change - 28 Dec 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 28 Dec 2019
avatar ReLater ReLater - change - 28 Dec 2019
The description was changed
avatar ReLater ReLater - edited - 28 Dec 2019
avatar ReLater ReLater - change - 28 Dec 2019
Title
[3] com_tags. Tagged Items. Microdata. Duplicate values for itemListElement.url are not allowed.
[3 and 4] com_tags. Tagged Items. Microdata. Duplicate values for itemListElement.url are not allowed.
avatar ReLater ReLater - edited - 28 Dec 2019
avatar ReLater
ReLater - comment - 28 Dec 2019

Joomla 4:
I propose to remove at least the nonsensical ItemList microdata from the layout (components/com_tags/views/tag/tmpl/default_items.php).

Joomla 3:
I'm not sure if it would be a too unexpected B\C break to remove it.

avatar HLeithner
HLeithner - comment - 28 Dec 2019

If it makes sense to remove it because it's useless or creates an error we can remove it in J3.
Would it break anything in J3?

avatar yashrajbothra
yashrajbothra - comment - 29 Dec 2019

Hey , Can i work on this issue?

avatar ReLater
ReLater - comment - 29 Dec 2019
avatar richard67 richard67 - change - 27 Jan 2020
Status New Confirmed
avatar Milglius
Milglius - comment - 20 Feb 2020

@yashrajbothra @ReLater where is pull request? cant find it

avatar yashrajbothra
yashrajbothra - comment - 20 Feb 2020

@Milglius Sorry, I was't able to make it up?.

avatar ReLater
ReLater - comment - 22 Feb 2020

I removed error-prone and completely senseless and faulty structured data markup for Tagged Items menu type with pr #28010

avatar ReLater ReLater - close - 22 Feb 2020
avatar ReLater ReLater - change - 22 Feb 2020
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2020-02-22 00:17:25
Closed_By ReLater

Add a Comment

Login with GitHub to post a comment