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

Put more context information on SNAPSHOT_STATE_VIOLATION #774

Closed
lujop opened this issue Jan 18, 2019 · 3 comments
Closed

Put more context information on SNAPSHOT_STATE_VIOLATION #774

lujop opened this issue Jan 18, 2019 · 3 comments
Labels

Comments

@lujop
Copy link

lujop commented Jan 18, 2019

At org.javers.core.metamodel.object.CdoSnapshotStateBuilder#withPropertyValue when JaversException(JaversExceptionCode.SNAPSHOT_STATE_VIOLATION) is throwed put at least propertyName in exception message to help with the problem

@bartoszwalacik
Copy link
Member

bartoszwalacik commented Jan 18, 2019

Ok, we will accept your PR

@bartoszwalacik
Copy link
Member

bartoszwalacik commented Mar 10, 2019

Please provide a failing test case. See how we write test cases https://github.com/javers/javers/tree/master/javers-core/src/test/groovy/org/javers/core/cases

@bartoszwalacik
Copy link
Member

fixed in 5.6.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants