? ? Pending
Referenced as Related to: # 18167

User tests: Successful: Unsuccessful:

avatar alikon
alikon
29 Sep 2017

Pull Request for Issue #18163 .

Summary of Changes

if i'm understanding it right from https://schema.org/AggregateRating the lowest should be '1' and not '0'

rating

avatar joomla-cms-bot joomla-cms-bot - change - 29 Sep 2017
Category Front End Plugins
avatar alikon alikon - open - 29 Sep 2017
avatar alikon alikon - change - 29 Sep 2017
Status New Pending
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 29 Sep 2017

test by Code Review, @alikon?

avatar alikon
alikon - comment - 29 Sep 2017

no you should

Use the Google Structured Data Testing Tool to test the page.

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 29 Sep 2017 - Tested unsuccessfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 29 Sep 2017

I have tested this item ? unsuccessfully on 64f391a

Changed on a Live-Site to <meta itemprop="worstRating" content="1" / in plugins/content/vote/tmpl/rating.php got:
bildschirmfoto 2017-09-29 um 14 01 25


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18166.
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 29 Sep 2017

I have tested this item ? unsuccessfully on 64f391a

Changed on a Live-Site to <meta itemprop="worstRating" content="1" / in plugins/content/vote/tmpl/rating.php got:


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18166.

avatar alikon alikon - change - 29 Sep 2017
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2017-09-29 12:31:59
Closed_By alikon
Labels Added: ?
avatar alikon alikon - close - 29 Sep 2017
avatar alikon alikon - close - 29 Sep 2017
avatar alikon alikon - head_ref_deleted - 29 Sep 2017
avatar mbabker
mbabker - comment - 29 Sep 2017

@alikon This PR is fine, it just needs one more fix (unrelated to the original issue) to give valid microdata. Basically the rating info should only be shown if there is at least one rating, if there are zero then the data shouldn't be rendered. This is our layout override on the company site.

screen shot 2017-09-29 at 7 43 15 am

avatar alikon
alikon - comment - 29 Sep 2017

i'll reopen it later if necessary in the meantime another pr #18167 has been submitted...

avatar alikon alikon - head_ref_restored - 29 Sep 2017
avatar alikon
alikon - comment - 29 Sep 2017

reopen with changes

avatar alikon alikon - change - 29 Sep 2017
Status Pending Closed
avatar alikon alikon - reopen - 29 Sep 2017
avatar alikon alikon - change - 29 Sep 2017
Status Closed New
Closed_Date 2017-09-29 12:31:59
Closed_By alikon
avatar alikon alikon - change - 29 Sep 2017
Status New Pending
avatar alikon alikon - reopen - 29 Sep 2017
avatar alikon
alikon - comment - 29 Sep 2017

@franz-wohlkoenig can you retest

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 30 Sep 2017

@alikon if i change Original-File "plugins/content/vote/tmpl/rating.php " with your File is all for test?

avatar alikon
alikon - comment - 30 Sep 2017

well i think so if

Google Structured Data Testing Tool

returns you good response

avatar alikon
alikon - comment - 30 Sep 2017

also please close original issue #18163 as we have 2 pr

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 30 Sep 2017

In this Case i can only test on a live site where i change Files. As there is no Patchtester i cannot test (usually i test on Mamp which i can not use for this PR).

avatar franz-wohlkoenig franz-wohlkoenig - change - 30 Sep 2017
Status New Pending
avatar siebtlingsgeburt
siebtlingsgeburt - comment - 3 Oct 2017

If somebody touches voting plugin, can we also drop the integer casting in https://github.com/joomla/joomla-cms/pull/18166/files#diff-efed18aee5802b1e8e8639600e9da56eR28 and https://github.com/alikon/joomla-cms/blob/staging/plugins/content/vote/vote.php#L52 as this makes the voting system unusable for many users. Lets add a plugin option where user can select the number of number of decimal places.

avatar fabpacheco
fabpacheco - comment - 26 Sep 2018

Before patch
vote-before-patch

After patch
vote-patch

If there is no rating in the article page the microdata does not show in Google test tool.

avatar fabpacheco
fabpacheco - comment - 26 Sep 2018

I have tested this item successfully on debb258


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18166.

avatar fabpacheco fabpacheco - test_item - 26 Sep 2018 - Tested successfully
avatar Quy
Quy - comment - 26 Sep 2018

I have tested this item successfully on debb258


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18166.

avatar Quy Quy - test_item - 26 Sep 2018 - Tested successfully
avatar Quy Quy - change - 26 Sep 2018
Status Pending Ready to Commit
avatar Quy
Quy - comment - 26 Sep 2018

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18166.

avatar Quy
Quy - comment - 26 Sep 2018

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18166.

avatar mbabker mbabker - change - 2 Oct 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-10-02 16:16:13
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 2 Oct 2018
avatar mbabker mbabker - merge - 2 Oct 2018

Add a Comment

Login with GitHub to post a comment