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

Fix issue with using the parameter name instead of filename #71

Merged
merged 1 commit into from
Mar 30, 2022

Conversation

agrancaric
Copy link
Collaborator

Basic information

  • nrich version:
    1.2.1
  • Module:
    nrich-validation

Additional information

Description

Summary

In MultipartFile validation through ValidFile and ValidFileResolvable constraints instead of file name parameter name was used for validation, changed it to use original file name.

Details

In MultipartFile validation through ValidFile and ValidFileResolvable constraints instead of file name parameter name was used for validation, changed it to use original file name.

Related issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have read the project's CONTRIBUTING document
  • I have checked my code with the project's static analysis tooling
  • I have formatted my code with the project's IDEA code-style configuration
  • I have checked my code for misspellings
  • I have organized my changes in easy-to-follow commits
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests pass.

@agrancaric agrancaric requested review from jsajlovic and jzrilic March 30, 2022 08:01
@agrancaric agrancaric self-assigned this Mar 30, 2022
@jzrilic jzrilic merged commit 8806bdd into master Mar 30, 2022
@jzrilic jzrilic deleted the bugfix_useOriginalFilenameInFileConstraints branch March 30, 2022 08:09
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.

2 participants