-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[5.4] Schemaorg system plugin onContentAfterDelete issue #44020
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This pull request has been automatically rebased to 5.3-dev. |
@Denitz Do you know a publicly available example for such an extension? If so, please add that info to your testing instructions. It could make it much easier to find testers for this PR, e.g. at the Pizza, Bugs & Fun (PBF) event tomorrow. |
@richard67 Unfortuntely, I don't remember now what was the origin for this error. It could be Hikashop: the |
@Denitz Maybe you know a small extension which could be modified e.g. by changing the context? Or could a core extension like e.g. com_contact be modified in that way for testing? |
I have tested this item ✅ successfully on 6ed047e This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44020. |
I have tested this item ✅ successfully on 6ed047e This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44020. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44020. |
Thank you @Denitz for your contribution. Thank you @Fedik and @richard67 for testing. |
Summary of Changes
Schemaorg system plugin
onContentAfterDelete
event tries do delete the schema even if context is not supported, and we have a warning if an item doesn't haveid
attribute.Testing Instructions
Delete any item of custom component which doesn't implement SchemaorgServiceInterface or doesn't have
id
attribute.Actual result BEFORE applying this Pull Request
See a similar warning in error log:
Expected result AFTER applying this Pull Request
No warning, only items which support schemaorg and with ID column are deleted.
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