Closed owlet1997 closed 3 years ago
scr-jmix
project updated, now this issue could be reproduced on query
mutation {
upsert_scr_CompositionO2MTestEntity(compositionO2MTestEntity: {
deeplyNestedO2Mattr: [
{name: "123456"}
]
}) {
_instanceName
}
}
Frontend part of the issue could be implemented using 1.0.0
jmix version.
Backend works incorrect on 1.0.999-SNAPSHOT
issue created https://github.com/Haulmont/jmix-graphql/issues/180
Enviroment: Jmix version: 1.0.999-SNAPSHOT Jmix Studio plugin version: 1.1.SNAPSHOT3273-211 IntelliJ version: IntelliJ IDEA 2021.1.3 (Ultimate Edition)
TC:
add entities
near Partcompage
value > 10 -> setname
value with length < 5 -> OkAR: GraphQL errors are displayed in responce preview, validation error notification isn't displayed for Partcomp field:
ER: Validation error is displayed like this:
Frontend
Before
example-react-app
update the environment:The error in
composition one to many
doesn't have array nesting.Validation works, but it's the wrong field error path. It has to be
compositionO2Mattr[0].quantity
After
example-react-app
update the environment:The error doesn't have information about the error.