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

Need to localizate error message for non-unique username #40

Closed
Flaurite opened this issue Jul 21, 2021 · 1 comment
Closed

Need to localizate error message for non-unique username #40

Flaurite opened this issue Jul 21, 2021 · 1 comment
Assignees
Labels
type: bug Something isn't working
Milestone

Comments

@Flaurite
Copy link
Contributor

Flaurite commented Jul 21, 2021

Jmix version: 1.1.0-SNAPSHOT
Jmix Studio plugin version: 1.1.SNAPSHOT3217-211
IntelliJ version: IntelliJ IDEA 2021.1.3 (Community Edition)
run app>Application>Users>create
set username = admin
password = 1
Ok
AR:

image

QA

  1. Create new single-module-project
  2. messages file should contain the following key:
    databaseUniqueConstraintViolation.IDX_${userTable}_ON_USERNAME=A user with this name already exists
  3. Try to reproduce the error. The localized message above should appear.

The same steps for single-module-application-kotlin.

@maistrenkoIulia
Copy link

please, change the message to
`A user with the same username already exists'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants