-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Improperly formatted queries can produce weird results. For example:
Products.objects.sync_all(session, id=1111111111)
This looks like it should search for a product with id=1111111111 and sync it if it's found. However this query is improperly formatted, instead it will drop the query portion silently and sync ALL products that are associated with that session/shop.
The logic should be changed such that it will raise an exception due to the improper query and fail loudly rather than tying up system resources for a (potentially) very long running sync.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed