Comments (3)
@therampagerado Can you please provide exact reprosteps? I don't really know how to test this
from thirtybees.
@therampagerado Can you please provide exact reprosteps? I don't really know how to test this
Had to patch it in my install. Its possible there are many ways of reproducing it as there is no verification if rule was already applied to the product.
Reprosteps:
- Associate a product with more than one category.
- Add a catalogue rule that includes both categories as condition.
Saving this rule will cause this duplicate entry exception.
Edit: added info
The rule must have two condition groups. Example:
Category: Cameras OR Category: DSLR Cameras
If a product is associated with both "Cameras" and "DSLR Cameras" , function SpecificPriceRule->getAffectedProducts() will return duplicate product IDs.
from thirtybees.
@getdatakick I did exactly what was given as info in the initial thread - created a new Catalog Price Rule with 3 or more sections and upon saving it I get the exception:
from thirtybees.
Related Issues (20)
- Edge scenario bug: Products with long short description could not be disabled and duplicated after Short description max value is reduced under the threshold HOT 2
- This description_short field (English (English)) is too long HOT 1
- Deleting language - fix cleaning directories
- Search Index: prevent deadlocks
- Module file introspection: syntax error when it contains namespace
- Error page fails to load when an error occurs during installation HOT 2
- PHP Warning: Trying to access array offset on false in file classes/Guest.php on line 266
- Cart rules: apply discount to cheapest not working HOT 3
- Enhancement: Specific volume price should be able to apply if different combinations are ordered. HOT 1
- smarty_lazy_cache causes invalidation of server side cache
- GuestTrackingController: multiple PHP8 dynamic property issues
- Redis cache: gracefully handle redis exceptions HOT 1
- Handle mysql deadlocks
- Smarty v5.0
- Deprecation: Creation of dynamic property Product::$pack_quantity is deprecated
- Deprecation: classes/order/OrderInvoice.php
- Wrong Bulgarian data on localization import
- Customer service reply through BO appends some codes to email subject received by the customer. HOT 1
- Multishop: Order message through My Profile -> Order summary goes to default shop email, not the email for selected shop. HOT 1
- Multishop: Customer service section - hard to get around if more than couple of shops active
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thirtybees.