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

[BE][HOTFIX] Nullable variable validation #232

Merged
merged 10 commits into from
Sep 18, 2024
Merged

Conversation

Nicklas373
Copy link
Owner

No description provided.

Satisfy old requirement from front-end services

Signed-off-by: Dicky Herlambang (花) <herlambangdicky5@gmail.com>
Signed-off-by: Dicky Herlambang (花) <herlambangdicky5@gmail.com>
Signed-off-by: Dicky Herlambang (花) <herlambangdicky5@gmail.com>
Signed-off-by: Dicky Herlambang (花) <herlambangdicky5@gmail.com>
Signed-off-by: Dicky Herlambang (花) <herlambangdicky5@gmail.com>
Signed-off-by: Dicky Herlambang (花) <herlambangdicky5@gmail.com>
Signed-off-by: Dicky Herlambang (花) <herlambangdicky5@gmail.com>
Signed-off-by: Dicky Herlambang (花) <herlambangdicky5@gmail.com>
Signed-off-by: Dicky Herlambang (花) <herlambangdicky5@gmail.com>
Signed-off-by: Dicky Herlambang (花) <herlambangdicky5@gmail.com>
@Nicklas373 Nicklas373 added bug Something isn't working php Pull requests that update Php code labels Sep 18, 2024
@Nicklas373 Nicklas373 self-assigned this Sep 18, 2024
@Nicklas373 Nicklas373 merged commit 15b0c56 into be/master Sep 18, 2024
1 check passed
@Nicklas373 Nicklas373 deleted the dev/be/master branch September 18, 2024 15:08
@Nicklas373 Nicklas373 restored the dev/be/master branch September 18, 2024 15:08
Nicklas373 added a commit that referenced this pull request Sep 21, 2024
## Description
In last update, i was update some validation logic to 'required' from
'nullable' in split and watermark controllers. But some of that value
was never served from the frontend with default value when empty. And it
make validation logic hit and return error validation.

## Solution
Update core API to properly declare and handle may-nullable variable,
instead only declare as required

## Commit
- [Core: Fix may-nullable validation
params](3eedc3d)
- [File: Fix undefined variable when counted total pdf
pages](b165a17)

## Handling for previous pull request
#232
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant