-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[4.4] Fix components rendering the document for no reason #39466
base: 4.4-dev
Are you sure you want to change the base?
Conversation
@obuisard You wanted to ping Harald @HLeithner , but you've pinged Hannes 😉 |
This pull request has been automatically rebased to 4.4-dev. |
I would say 6.0 is the right target branch as George pointed out the bc break, even when it is minor. |
I would also need to be documented in the migration developer docs and maybe also deprecation comments. |
Pull Request for Issue #39458 .
Summary of Changes
Fixes the fact we were returning a rendered html document to the controller which was then being totally ignored. Instead the view now returns void in a similar approach to how HTML documents are rendered. This is technically a b/c break as the return type has changed. However as the controller has never used this value and the document is re-rendered as part of the Application package for display on screen the chances of this impacting any extensions is exceptionally low. But I've put this against the 4.3 branch to be safe
Testing Instructions
Drone tests continue to pass showing there is no difference in the api behaviour before and after this PR. Users can choose any endpoint and behaviour should be unchanged whilst there should be a negligible performance increase as we don't double render the document.
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