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

fixed 200 OK BUG #22334

Open
wants to merge 6 commits into
base: 5.x-dev
Choose a base branch
from
Open

fixed 200 OK BUG #22334

wants to merge 6 commits into from

Conversation

BVancea25
Copy link

@BVancea25 BVancea25 commented Jun 24, 2024

Description:

Please include a description of this change and which issue it fixes. If no issue exists yet please include context and what problem it solves.

The change ensures the response created by the ResponseBuilder has a 404 status code in case a method doesn't exist.

Review

core/API/ResponseBuilder.php Outdated Show resolved Hide resolved
core/API/Proxy.php Outdated Show resolved Hide resolved
@@ -136,7 +136,6 @@ public function getResponseException($e)
{
$e = $this->decorateExceptionWithDebugTrace($e);
$message = $this->formatExceptionMessage($e);

Copy link
Contributor

Choose a reason for hiding this comment

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

Please reset this change (i.e. keep the empty line)

BVancea25 and others added 2 commits June 28, 2024 14:48
core/API/Proxy.php Outdated Show resolved Hide resolved
@sgiehl sgiehl added the Needs Review PRs that need a code review label Jun 28, 2024
@sgiehl sgiehl added this to the 5.2.0 milestone Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants