Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
ProductRepository returns wrong product if SKU matches entity ID of another product #136
Hello again! I found another nice one.
Now, I created a patch, which checks whether the product data returned from the cache is actually the one we want. In I replaced
But in general I think that the whole reference mechanism for accessing cached items is pretty dangerous, since the assumption cannot be made that there are no conflicts between actual cache keys and references.