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

State field wrongly sized for updatable entity views with inheritance leads to IOOBE #699

Closed
beikov opened this issue Dec 16, 2018 · 0 comments · Fixed by #700
Closed

State field wrongly sized for updatable entity views with inheritance leads to IOOBE #699

beikov opened this issue Dec 16, 2018 · 0 comments · Fixed by #700

Comments

@beikov
Copy link
Member

beikov commented Dec 16, 2018

Description

When using inheritance with updatable entity view types, the dirty state arrays get the size of the overall mutable attributes rather than just the size of the attributes that are actually mutable for a specific subtype. This leads to an index out of bounds exception during the remove operation.

Expected behavior

Actual behavior

Steps to reproduce

Environment

Version: 1.3.0
JPA-Provider: -
DBMS: -
Application Server: -

@beikov beikov added this to the 1.4.0 milestone Dec 16, 2018
@beikov beikov self-assigned this Dec 16, 2018
beikov added a commit to beikov/blaze-persistence that referenced this issue Dec 16, 2018
beikov added a commit to beikov/blaze-persistence that referenced this issue Dec 16, 2018
beikov added a commit to beikov/blaze-persistence that referenced this issue Dec 19, 2018
beikov added a commit to beikov/blaze-persistence that referenced this issue Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant