-
Notifications
You must be signed in to change notification settings - Fork 2
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
Find a solution for broken name validation on article synchronization #57
Comments
I'm not quite sure what this is about. The ref. code is the articles :uniqueness_of_name validation. This one breaks now with the new supplier-share feature? |
@yksflip
Well, as far as I can tell, the referenced code is about this: Since we try to integrate it all in foodsoft now, where it's generally not allowed to have the same article name twice in a supplier's list, we have to make a decision:
Number 3. I've always found kind of quirky (Why should validation depend on where the article has been imported from?) If we were to choose 2., we'd have to define which units have to differ to make an article unique (There are so many fields now 😉 ) |
for completeness, a probably not very attractive but simple way: I think 1. would be the easiest and closest to the previous behavior and be in favor for that way. |
You mean like remove all validation preventing duplication? That would seem like a step back. 🤔
👍 Okay, I'll still leave this issue open for discussion, but move it to Post-Merge. |
Should we still support something like https://github.com/foodcoops/foodsoft/pull/287/files#diff-24503fd25ed68e6ebceee4951bc4f9b255b197278d4aa9d86ef9d5afe3f26beaR230? (I think this might be obsolete after migrating from sharedlists)
The text was updated successfully, but these errors were encountered: