RTC bug PR-5.1-dev Pending

User tests: Successful: Unsuccessful:

avatar n3t
n3t
16 Feb 2024

Load and display scheme.org form only in contexts that component propagate as available.

Summary of Changes

Modified Schemaorg system plugin to load Schema form only in contexts, that are promoted by component as available.

Testing Instructions

Not testable on core, as com_content and com_contact both has only one edit view, one edit form. Need 3rd party component with support of SchemaorgServiceInterface.
Dev version of PhocaCart could be used (not released at the moment). If necessary I could prepare dummy component just for testing this.

Actual result BEFORE applying this Pull Request

If the component provides multiple forms, schema.org form is added to all of its forms, not only to forms declared in
getSchemaorgContexts function.

Expected result AFTER applying this Pull Request

Schema org fields are loaded only on proper forms.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar n3t n3t - open - 16 Feb 2024
avatar n3t n3t - change - 16 Feb 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 Feb 2024
Category Front End Plugins
avatar n3t n3t - change - 16 Feb 2024
Title
Update Schemaorg.php
[5.0] Update Schemaorg.php
avatar n3t n3t - edited - 16 Feb 2024
avatar n3t n3t - change - 16 Feb 2024
Title
[5.0] Update Schemaorg.php
[5.0] Load Schema.org only in proper forms
avatar n3t n3t - edited - 16 Feb 2024
avatar n3t n3t - change - 16 Feb 2024
Labels Added: PR-5.0-dev
avatar PhocaCz PhocaCz - test_item - 17 Feb 2024 - Tested successfully
avatar PhocaCz
PhocaCz - comment - 17 Feb 2024

I have tested this item ✅ successfully on 7d5f44f

Hi,

testing with latest Phoca Cart 5 Beta version: https://github.com/PhocaCz/PhocaCart/releases/download/5.0.0Beta/com_phocacart_v5.0.0Beta26.zip

Before:
img
(additional tab is displayed)

After:
img
(no additional tab is displayed)

Tested sucessfully ✓


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

avatar coufalpetr coufalpetr - test_item - 17 Feb 2024 - Tested successfully
avatar coufalpetr
coufalpetr - comment - 17 Feb 2024

I have tested this item ✅ successfully on 7d5f44f

Hi, I have installed the latest Phoca Cart Beta version, after installing this patch I don't see any extra unnecessary tab. So the result is successful.


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

avatar richard67 richard67 - change - 20 Feb 2024
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 20 Feb 2024

RTC


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

avatar bembelimen bembelimen - change - 13 Mar 2024
Labels Added: RTC bug
avatar n3t n3t - change - 15 Mar 2024
Labels Added: PR-5.1-dev
Removed: PR-5.0-dev
avatar cybersalt cybersalt - test_item - 11 Apr 2024 - Tested successfully
avatar cybersalt
cybersalt - comment - 11 Apr 2024

I have tested this item ✅ successfully on 660b142

Also used Phocacart in testing - it works.


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

avatar HLeithner HLeithner - change - 24 Apr 2024
Title
[5.0] Load Schema.org only in proper forms
[5.1] Load Schema.org only in proper forms
avatar HLeithner HLeithner - edited - 24 Apr 2024
avatar viocassel viocassel - test_item - 19 May 2024 - Tested successfully
avatar viocassel
viocassel - comment - 19 May 2024

I have tested this item ✅ successfully on 660b142


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

avatar n3t
n3t - comment - 29 May 2024

Just curious, this PR is marked RTC since 3 months ago, but still not commited, so missing in 5.1.1 release, is there any issue with it? Should I add something?

avatar bembelimen bembelimen - change - 7 Jul 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-07-07 21:59:04
Closed_By bembelimen
avatar bembelimen bembelimen - close - 7 Jul 2024
avatar bembelimen bembelimen - merge - 7 Jul 2024
avatar bembelimen
bembelimen - comment - 7 Jul 2024

Thx

Add a Comment

Login with GitHub to post a comment