Skip to content

Conversation

@provokateurin
Copy link
Member

Fixes #55619

Make sure to check that the responder actually exists, before trying to use it instead of falling back to the default.

@provokateurin provokateurin added this to the Nextcloud 33 milestone Oct 8, 2025
@provokateurin provokateurin requested a review from a team as a code owner October 8, 2025 08:37
@provokateurin provokateurin removed the request for review from a team October 8, 2025 08:37
@provokateurin provokateurin added the 3. to review Waiting for reviews label Oct 8, 2025
@provokateurin provokateurin force-pushed the fix/appframework/check-reponder-existence branch from 22f2df4 to f720925 Compare November 12, 2025 08:41
@provokateurin
Copy link
Member Author

/backport to stable32

Comment on lines 116 to +117
* @param string $format
* @param \Closure $responder
* @param Closure $responder
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both can be removed

@provokateurin provokateurin merged commit e5f50da into master Nov 12, 2025
229 of 249 checks passed
@provokateurin provokateurin deleted the fix/appframework/check-reponder-existence branch November 12, 2025 10:46
. $format . '!');
}

public function isResponderRegistered(string $responder): bool {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SInCE is missing. Did we not have a check for this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh yes 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DomainException thrown in case of errors - No responder registered for format xhtml+xml!

6 participants