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

Remove EID Name Validation #2701

Merged
merged 5 commits into from
Nov 9, 2023
Merged

Conversation

AntoxaAntoxic
Copy link
Collaborator

No description provided.

@AntoxaAntoxic AntoxaAntoxic self-assigned this Oct 16, 2023
@AntoxaAntoxic
Copy link
Collaborator Author

Issue in PBS Go: prebid/prebid-server#3097

validateEidPermissionBidders(eidPermission.getBidders(), aliases);
for (ExtRequestPrebidDataEidPermissions eidPermission : eidPermissions) {
if (eidPermission == null) {
throw new ValidationException("request.ext.prebid.data.eidpermissions[] can't be null");
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it actually technically possible that here eidPermission will be null?

Also please update message with [I], because now it looks like array should not be null

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

there is a unit test that covers that case, so technically yes, but from the logic perspective I'm not sure

AntoxaAntoxic and others added 4 commits October 30, 2023 15:09
# Conflicts:
#	src/test/groovy/org/prebid/server/functional/tests/BidValidationSpec.groovy
# Conflicts:
#	src/test/groovy/org/prebid/server/functional/tests/BidValidationSpec.groovy
#	src/test/java/org/prebid/server/validation/RequestValidatorTest.java
@SerhiiNahornyi SerhiiNahornyi merged commit 82e1394 into master Nov 9, 2023
2 checks passed
@SerhiiNahornyi SerhiiNahornyi deleted the remove-eid-name-validation branch November 9, 2023 11:48
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