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

Add testcase that tickles bug in history #3082

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tobias-
Copy link
Contributor

@tobias- tobias- commented May 31, 2023

This PR demonstrates a bug in history where if you do findVersions() on a history object that references a non-versioned and then a versioned object again, a systime <@ null will be added to the query (postgres) which will of course always fail.

This proves the bug reported as #3083

…_historied_historyless_historied

Conflicts:
	ebean-test/src/test/java/org/tests/model/history/HistoryOneToOne.java
	ebean-test/src/test/java/org/tests/model/history/HistorylessOneToOne.java
@tobias- tobias- force-pushed the findVersions_over_historied_historyless_historied branch from ce97fe4 to 47b5ed1 Compare September 25, 2023 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant