? ? Success

User tests: Successful: Unsuccessful:

avatar alexprut
alexprut
14 Aug 2014

— Updated the types.json file with the new available Types and Properties
— Small documentation & code refactoring
— Bug fix: if specified, return an empty string on fallback or disabled library, even if a content is available https://github.com/joomla/joomla-cms/pull/4108/files#diff-cd3328236e7aecb09373c1c564b9bbb8R256

avatar PAlexcom PAlexcom - open - 14 Aug 2014
avatar jissues-bot jissues-bot - change - 14 Aug 2014
Status Pending New
Labels Added: ? ?
avatar zero-24 zero-24 - change - 14 Aug 2014
Status New Pending
avatar betweenbrain
betweenbrain - comment - 15 Aug 2014

Looks good from a quick review of the file changes. How can this be manually tested? Does https://github.com/joomla/joomla-cms/blob/staging/tests/unit/suites/libraries/joomla/microdata/JMicrodataTest.php need updating?

avatar PAlexcom
PAlexcom - comment - 16 Aug 2014

@betweenbrain The types.json file doesn't have any test. Even if the https://github.com/joomla/joomla-cms/blob/staging/tests/unit/suites/libraries/joomla/microdata/JMicrodataTest.php file has a lot of changes, almost all of them are english language errors, + a new test was added to fix the bug (a logic bug). You think more tests need to be added?

avatar nicksavov nicksavov - change - 21 Aug 2014
Status Pending New
Labels Removed: ?
avatar brianteeman brianteeman - change - 21 Aug 2014
Status New Pending
avatar kolvar kolvar - test_item - 14 Mar 2015 - Tested successfully
avatar roland-d roland-d - change - 20 Aug 2015
Status Pending Information Required
avatar roland-d
roland-d - comment - 20 Aug 2015

Hello @PAlexcom

Thank you for your contribution.

The last comment here was on 16th August 2014. So the question is, Is this issue/pull request still valid?
if so please provide clear test instructions to be able to test / reproduce this issue.
If no reply is received within 4 weeks we will close this issue.

Thanks for understanding!


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

avatar PAlexcom
PAlexcom - comment - 22 Aug 2015

Hi @roland-d, this PR is still valid, I can't provide test instructions to test / reproduce this issue simply because this PR contains some code refactoring/bug fix (with tests)/update of the JMicrodata library, the PR can be merged.

avatar roland-d
roland-d - comment - 14 Sep 2015

Hello @PAlexcom the bug fix should be reproducible or not? I see that some kind off fallback mechanism has changed, shouldn't that be testable? The code is touched somewhere or not?

avatar roland-d
roland-d - comment - 8 Nov 2015

@PAlexcom Can you provide feedback on my questions?

avatar roland-d roland-d - change - 12 Dec 2015
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2015-12-12 15:43:16
Closed_By roland-d
avatar roland-d roland-d - close - 12 Dec 2015
avatar roland-d roland-d - reference | 6ef6151 - 12 Dec 15
avatar roland-d roland-d - merge - 12 Dec 2015
avatar roland-d roland-d - close - 12 Dec 2015
avatar joomla-cms-bot joomla-cms-bot - change - 12 Dec 2015
Labels Added: ?
avatar roland-d roland-d - change - 12 Dec 2015
Milestone Added:
avatar roland-d
roland-d - comment - 12 Dec 2015

Merged based on review. Library is not used in core itself.

avatar peterpeter
peterpeter - comment - 30 Dec 2015

@PAlexcom Nice and usefull piece of code, the JMicrodata class. Thanks.
I started these days to implement microdata in some extensions, but there are differences between schema.org and the types.json file.

I found some missing properties (Event->workPerformed) and expected porperty-types (PostalAddress->addressCountry can be Text too, not only type 'Country')

To avoid hardcoding - where can I get the most recent types.json-file? Should I use your Spider4Schema for that?

avatar alexprut
alexprut - comment - 6 May 2016

@roland-d I really apologize for not replying in time, I see now that the PR was merged, it should not break anything and update the new schema, to be honest two years have passed: I do not remember exactly what bug the PR fixes, but I can investigate if needed.

avatar alexprut
alexprut - comment - 6 May 2016

@peterpeter Thanks & sorry for the late reply ;)

I started these days to implement microdata in some extensions, but there are differences between schema.org and the types.json file.

That is because the types.json file is an older version, a new PR should be done in order to update the file.

To avoid hardcoding - where can I get the most recent types.json-file? Should I use your Spider4Schema for that?

Yes, Spider4Schema is the spider/parser that creates the types.json file, however I'm not sure if it still works properly since schema.org have changed their website recently.

avatar roland-d
roland-d - comment - 7 May 2016

@alexprut I understand you don't remember when it's such an old PR. It is already in Joomla 3.5.0 so it's OK. At least it did go in :)

I hardly dare to ask but could you do a new PR with the updates types.json file? Put me in there as well so I am aware of it. Thank you.

avatar alexprut
alexprut - comment - 7 May 2016

@roland-d I'll try do my best to update the file asap.

avatar roland-d
roland-d - comment - 7 May 2016

@alexprut Thanks, we are here all weekend working on the issue tracker, if you can get it done we will merge it this weekend for sure.

Add a Comment

Login with GitHub to post a comment