Skip to content
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

Open
wants to merge 3 commits into
base: 4.4-dev
Choose a base branch
from

Conversation

wilsonge
Copy link
Contributor

@wilsonge wilsonge commented Dec 21, 2022

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

@Hackwar Hackwar added the bug label Apr 7, 2023
@obuisard
Copy link
Contributor

It's a shame we did not include this in 4.3, I apologize for the oversight. George @wilsonge then we would not have any issue including this in 5.0. What do you thing Harald @Hackwar?

@Hackwar Hackwar added the PBF Pizza, Bugs and Fun label Aug 25, 2023
@richard67
Copy link
Member

It's a shame we did not include this in 4.3, I apologize for the oversight. George @wilsonge then we would not have any issue including this in 5.0. What do you thing Harald @Hackwar?

@obuisard You wanted to ping Harald @HLeithner , but you've pinged Hannes 😉

@HLeithner HLeithner changed the base branch from 4.3-dev to 4.4-dev September 30, 2023 22:44
@HLeithner
Copy link
Member

This pull request has been automatically rebased to 4.4-dev.

@HLeithner
Copy link
Member

@MacJoom @laoneo would you like to merge this into 4.4? I mean it's not a bug that breaks anything, so I think moving it to 5.1 would make sense. What you think?

@laoneo
Copy link
Member

laoneo commented Oct 18, 2023

I would say 6.0 is the right target branch as George pointed out the bc break, even when it is minor.

@richard67
Copy link
Member

I would also need to be documented in the migration developer docs and maybe also deprecation comments.

@HLeithner HLeithner changed the title Fix components rendering the document for no reason [4.4] Fix components rendering the document for no reason Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants