-
Notifications
You must be signed in to change notification settings - Fork 80
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
Habit Translations: ua fields doesn`t save #7319
Labels
Milestone
Comments
ChernenkoVitaliy
added a commit
that referenced
this issue
Dec 13, 2024
…lds. (#7898) * Fixed functionality of saving HabitTranslation in saveHabitTranslationListsToHabitTranslationRepo method in HabitServiceImpl; Fixed necessary tests in HabitServiceImplTest; Added getHabitTranslationDtoEnAndUa method in ModelUtils; Added @notblank annotation in HabitTranslationDto for description, languageCode and name fields; Added @Valid annotation for validation HabitTranslationDto into CustomHabitDtoRequest; Added convertUa() and mapAllToList() methods into HabitTranslationMapper; Added necessary nests in HabitTranslationMapperTests; * Fixed sonar issues in HabitTranslationMapperTests; * Moved strings for language codes in AppConstant; Replced if/else to ObjectUtils.defaultNull; Added test for HabitTranslationMapperTests to improve coverage; * Formatted code in HabitTranslationMapperTests with formatter-maven-plagin;
github-project-automation
bot
moved this from Bugs in progress
to Sprint Backlog
in GreenCity
Dec 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment: Windows 10, Swagger
Reproducible: always
Preconditions
The user is logged in
Steps to reproduce
habit-controller -> /habit/custom
Actual result
nameUa, descriptionUa, habitItemUa are not saved in DB
Expected result
all fields are saved in DB
The text was updated successfully, but these errors were encountered: