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

As a data editor, I need to enter subscriptions for the same person that start on the same date if they have different end dates, so I can track different subscriptions purchased at the same time. #711

Closed
i-davis opened this issue Dec 9, 2020 · 1 comment
Assignees
Milestone

Comments

@i-davis
Copy link

i-davis commented Dec 9, 2020

testing notes

Subscription unique requirements now include end date; please test several different scenarios to confirm that it's working the way we want, including:

  • same account, same subscription type, same start date, same end date — should be rejected as invalid/duplicate
  • same account, same subscription type, same start date, different end date — should be ok
  • same account, different subscription type, same start date, same end date — should be ok

The duplicate logic currently prevents two events with the same start date from being saved. Current logic requires that combination of account + start date + subscription type be distinct; end dates should be added to that logic, so that events with the same start date can be saved.

@rlskoeser rlskoeser changed the title Change the duplicate logic to include end dates As a data editor, I need to enter subscriptions for the same person that start on the same date if they have different end dates, so I can track different subscriptions purchased at the same time. Dec 9, 2020
@rlskoeser rlskoeser added this to the 1.3 milestone Dec 10, 2020
@i-davis
Copy link
Author

i-davis commented Dec 10, 2020

This works!

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

2 participants