User tests: Successful: Unsuccessful:
Pull Request resolves #48033.
Replacement for #48083 (could not reopen after I closed it).
The JobPosting plugin currently writes the form values Telecommute, Onsite and Hybrid straight into jobLocationType. Google only accepts TELECOMMUTE there, so Rich Results Test flags the markup.
This maps the values when the JSON-LD is compiled:
TELECOMMUTE (Hybrid still keeps the physical jobLocation)jobLocationType and keep jobLocationForm values and stored data are unchanged.
application/ld+json block in the page source, or run the URL through Google's Rich Results Test.The JSON-LD contains "jobLocationType": "Onsite" (or "Hybrid" / "Telecommute"), which Google flags as invalid.
Onsite: no jobLocationType in the output, only jobLocation. Hybrid and Telecommute: "jobLocationType": "TELECOMMUTE", with the physical jobLocation still present for Hybrid.
Please select:
No documentation changes for guide.joomla.org needed
No documentation changes for manual.joomla.org needed
Made with Cursor
| Status | New | ⇒ | Pending |
| Category | ⇒ | Front End Plugins Unit Tests |
I have tested this item ✅ successfully on 649c916
* Tested with JBT
"jobLocationType": "Onsite" and "jobLocationType": "Hybrid" before PRjobLocationType entry for 'Onsite'"jobLocationType": "TELECOMMUTE" for 'Telecommute' and 'Hybrid'I have tested this item ✅ successfully on 649c916
Test results:
I have tested this item ✅ successfully on 649c916
Test results:
| Status | Pending | ⇒ | Ready to Commit |
RTC
RTC
| Labels |
Added:
RTC
Unit/System Tests
bug
PR-5.4-dev
|
||
I have tested this item ✅ successfully on ad13f30
Final test before merging: The PR does what it says, which is consistent to what is described here https://developers.google.com/search/docs/appearance/structured-data/job-posting , and the results are valid according to Google's Rich Results Test validator https://search.google.com/test/rich-results .
I have tested this item ✅ successfully on ad13f30
Final test before merging: The PR does what it says, which is consistent to what is described here https://developers.google.com/search/docs/appearance/structured-data/job-posting , and the results are valid according to Google's Rich Results Test validator https://search.google.com/test/rich-results .
| Status | Ready to Commit | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-08-23 18:24:15 |
| Closed_By | ⇒ | richard67 |
Thanks @Otto-Deviant1904 for this PR, and @muhme and @ThomasFinnern for testing.
Thanks @richard67 for merging, and thanks @muhme and @ThomasFinnern for the thorough testing — really appreciated. Happy to keep contributing around the schema.org plugins; there are a few more spec-compliance gaps worth tidying up (I'll open issues as I confirm them).
Thanks @richard67 for merging, and thanks to @muhme and @ThomasFinnern for testing this one. Happy to keep contributing around the schema.org plugins too. I noticed a couple more spec compliance gaps while working on this PR so I will open issues as I confirm them.
I have tested this item ✅ successfully on 649c916
* Tested with JBT
"jobLocationType": "Onsite"and"jobLocationType": "Hybrid"before PRjobLocationTypeentry for 'Onsite'"jobLocationType": "TELECOMMUTE"for 'Telecommute' and 'Hybrid'This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48238.