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

Private types won't save if there is another person with the same private type #71

Open
cfmack opened this issue Dec 17, 2015 · 1 comment
Assignees

Comments

@cfmack
Copy link
Owner

cfmack commented Dec 17, 2015

Use case:
1 User A puts in a new food type: apple sauce
2 System inserts this new type under User A's profile
3 User B goes to add apple sauce
4 User B did not see User A's private type of apple sauce
5 User B goes to add apple sauce

The system fails to give a 'failure' notice and fails to save

@cfmack cfmack self-assigned this Dec 17, 2015
@cfmack
Copy link
Owner Author

cfmack commented Dec 17, 2015

The bug was around the SQL unique indexes. I suspect there is still the following errors:

  • unique key does not consider "IsDeleted" types, which is behind the scenes anyways
    -- Does MySQL support filtered indexes?
  • If there is a failure, the user is still not notified

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

No branches or pull requests

1 participant