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

ISession.IsDirty() should not throw exception on new ManyToOne object in session #1416

Closed

Conversation

bahusoid
Copy link
Member

@bahusoid bahusoid commented Nov 1, 2017

Fix one of the cases in #1413.
Fixed case - exception is thrown by ISession.IsDirty() call when new ManyToOne object present in session. Fixed test case - SessionIsDirtyShouldNotFailForNewManyToOneObject in #1414:
https://github.com/nhibernate/nhibernate-core/pull/1414/files#diff-1c250a6682b3027be99e132c9257cb4dR72

@hazzik
Copy link
Member

hazzik commented Nov 1, 2017

@bahusoid you may wish to integrate this PR to the PR with tests.

@bahusoid
Copy link
Member Author

bahusoid commented Nov 2, 2017

@hazzik Could you please clarify. Are you suggesting to close this PR and simply add this commit to PR with the tests?

@hazzik
Copy link
Member

hazzik commented Nov 2, 2017

Yes, pretty much.

@bahusoid
Copy link
Member Author

bahusoid commented Nov 2, 2017

Ok. It's done.

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

Successfully merging this pull request may close these issues.

3 participants