Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Error message not localized for non-unique value #572

Closed
maistrenkoIulia opened this issue Jul 1, 2021 · 1 comment
Closed

Error message not localized for non-unique value #572

maistrenkoIulia opened this issue Jul 1, 2021 · 1 comment
Assignees
Labels
state: won't fix This will not be worked on type: bug Something isn't working
Milestone

Comments

@maistrenkoIulia
Copy link

Jmix version: 1.0.0
Jmix Studio plugin version: 1.0.0-211
IntelliJ version: IntelliJ IDEA 2021.1.3 (Community Edition)

TC: create entity>add attribute, set unique = true
create crud screens
run app>create entity, set attr value = 1>ok
create another entity, set attr value = 1>ok
ER: human-friendly message should be displayes
AR:
image

@gorbunkov gorbunkov removed their assignment Jul 2, 2021
@glebfox glebfox added the type: bug Something isn't working label Jul 6, 2021
@glebfox glebfox assigned Flaurite and unassigned glebfox Jul 6, 2021
@glebfox glebfox added this to the 1.1.0 milestone Jul 6, 2021
@Flaurite
Copy link
Contributor

@maistrenkoIulia hi! There is an ability to customize the error message. Try to add the following to the message pack:

databaseUniqueConstraintViolation.UC_PERSON_ONE=My custom unique error message

@Flaurite Flaurite added the state: won't fix This will not be worked on label Jul 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
state: won't fix This will not be worked on type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants