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

Document store cloned from the original proposal on submission #66

Conversation

DJWalker42
Copy link
Contributor

When submitting a proposal to a cycle the API now copies the original proposal's document store to one uniquely identified by the new "submitted-proposal". In essence, this creates a snapshot of the documents in the store at the point when the proposal was submitted.

Notice that in doing this I have also moved the code that updates the clone's (or submitted-proposal's) supporting documents 'location' members into the implementation of 'ProposalDocumentStore.copyStore()' method.

…nes the document store of the original proposal
@DJWalker42 DJWalker42 linked an issue Dec 9, 2024 that may be closed by this pull request
Copy link

github-actions bot commented Dec 9, 2024

Test Results

34 tests  ±0   34 ✅ ±0   8s ⏱️ ±0s
12 suites ±0    0 💤 ±0 
12 files   ±0    0 ❌ ±0 

Results for commit 8c19cdd. ± Comparison against base commit c6014cb.

@DJWalker42 DJWalker42 merged commit 3a92b65 into master Dec 10, 2024
2 checks passed
@DJWalker42 DJWalker42 deleted the 57-submitted-proposals-should-have-own-copy-of-uploaded-documents branch December 10, 2024 09:53
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.

Submitted proposals should have own copy of uploaded documents
1 participant