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

Make it possible to call prepareForWrite multiple times #245

Merged
merged 1 commit into from
Dec 3, 2021

Conversation

tmadlener
Copy link
Collaborator

BEGINRELEASENOTES

  • Make it possible to call prepareForWrite multiple times on collections by rendering all but the first call no-ops. Fixes Out of bounds access on prepareForWrite() #241
    • Collections are marked as prepared, either if they are read from file or once prepareForWrite has been called on them.

ENDRELEASENOTES

As discussed already #241 calling prepareForWrite more than once per collection is really not something that should happen and might point to a different problem.

Make prepareForWrite a no-op on all but the first call
@tmadlener
Copy link
Collaborator Author

@hegner can we also include this, before we branch off with the overhaul?

@hegner hegner merged commit 8f4657b into AIDASoft:master Dec 3, 2021
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.

Out of bounds access on prepareForWrite()
2 participants