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

Retain answers when re-adding items #20

Closed
raphaelm opened this issue Mar 4, 2015 · 1 comment
Closed

Retain answers when re-adding items #20

raphaelm opened this issue Mar 4, 2015 · 1 comment

Comments

@raphaelm
Copy link
Member

raphaelm commented Mar 4, 2015

If you have an expired CartPosition and you try to add something else to your cart, pretix will try to renew all your CartPositions in order to have a common expiration time for all of them (for user convenience). Currently, this happens by them being removed and added like new positions. This loses all existing information like attendee_name or existion QuestionAnswer objects (which should be retained).

@raphaelm raphaelm added this to the Stable Release 1.0 milestone Mar 4, 2015
@raphaelm raphaelm modified the milestones: Stable Release 1.0, Beta release 0.1 Mar 13, 2015
@raphaelm
Copy link
Member Author

Test case: tests.presale.test_cart.CartTest.test_renew_questions

raphaelm added a commit that referenced this issue Mar 14, 2015
@raphaelm raphaelm changed the title Retain answers when re-adding questions Retain answers when re-adding items Apr 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant