Skip to content

Update thrown exception and clarify error message for UuidNormalizer. #3132

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

Merged
merged 2 commits into from
Oct 6, 2019

Conversation

Taminoful
Copy link
Contributor

@Taminoful Taminoful commented Oct 1, 2019

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #3045
License MIT
Doc PR not applicable

As discussed in issue #3045, the given error message was misleading.
I also updated the thrown exception according to the Exception
mentioned in the same issue. Of course I updated the related PHPUnit
test too.

As discussed in issue api-platform#3045, the given error message was misleading.
I also updated the thrown exception according to the Exception
mentioned in the same issue. Of course I updated the related PHPUnit
test too.
@Taminoful Taminoful changed the title Update thrown exception and clarify error message. For UuidNormalizer #3045 Update thrown exception and clarify error message for UuidNormalizer. #3045 Oct 1, 2019
@Taminoful Taminoful changed the title Update thrown exception and clarify error message for UuidNormalizer. #3045 Update thrown exception and clarify error message for UuidNormalizer. Oct 1, 2019
@Taminoful
Copy link
Contributor Author

Currently fixing a behat testcase I've overlooked.

Taminoful added a commit to Taminoful/core that referenced this pull request Oct 4, 2019
As discussed in PR api-platform#3132, the thrown exception should stay as
InvalidIdentifierException only the error message should be clarified.
Taminoful added a commit to Taminoful/core that referenced this pull request Oct 4, 2019
Updated the error message as discussed in PR api-platform#3132.
@Taminoful Taminoful requested a review from soyuka October 4, 2019 14:20
I overlooked the behat test which fails since I didn't update the error
code which is thrown by the exception.
@soyuka soyuka merged commit 0f91a71 into api-platform:2.5 Oct 6, 2019
@soyuka
Copy link
Member

soyuka commented Oct 6, 2019

Thanks @Taminoful !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants