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

SQLIntegrityConstraintViolationException while using an unbuffered DataGrid editor #1104

Open
glebfox opened this issue Jul 31, 2018 · 0 comments
Assignees
Labels
type: bug Something isn't working

Comments

@glebfox
Copy link
Member

glebfox commented Jul 31, 2018

Description of the bug or enhancement

In case of using an unbuffered DataGrid editor and commiting a datasource every time the ItemPropertyChangeListener is fired, then the SQLIntegrityConstraintViolationException occurs.

For instance:

SQLIntegrityConstraintViolationException: integrity constraint violation: unique constraint or index violation; SYS_PK_10365 table: SAMPLE_CUSTOMER

Note: reproduces only if an edited entity has an association with another entity.

datagrid-editor-actions.zip

See also: https://www.cuba-platform.com/discuss/t/how-to-use-inline-editor-of-datagrid-without-editorbuffered/5959/11

@glebfox glebfox added the type: bug Something isn't working label Jul 31, 2018
@glebfox glebfox added this to the Release 6.9 milestone Jul 31, 2018
@glebfox glebfox self-assigned this Jul 31, 2018
@knstvk knstvk removed this from the Release 6.9 milestone Aug 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants