Timothy Posted October 27, 2013 Report Posted October 27, 2013 When adding a service to a customer that has multiple addons and at least one of the addons has a qty field the value is passed down to all services that follow it.How to duplicate: Create 3 Products with the universal module. A primary product and two addon products.1: The primary product should have no fields2: The first addon product should have a required service field with qty in the label area.3: The second addon product should have no qty field.3: Create the associated packages and link the two addon products to the primary.Adding services to client1: On a client profile click to add a service.2: Add the primary service3: Select both addon services.4: On the first addon service set a quantity.5: Add the second addon and proceed to the review screen.The bug: The second addon has the same quantity as the first addon. The qty field from the first addon product applies to each addon service that comes after it. This happens even if the additional addons do not have 'qty' fields of their own. If the additional services have their own 'qty' fields then the issue does not come up.Expected behavior. The 'qty' field from one service should not affect any additional services.Server setup is Freebsd 9.2 with Nginx 1.4.2 using PHP 5.4.21 through php-fpm and Mariadb 5.3. I am using Blesta v3.0.5
Timothy Posted October 30, 2013 Author Report Posted October 30, 2013 This bug appears to exist on 3.0.4 as well. Any ideas?
Timothy Posted October 30, 2013 Author Report Posted October 30, 2013 This also happens when the qty field is on the primary product. Each add on product will have the same quantity set as the primary. The example above only tested between add on products.
Tyson Posted October 30, 2013 Report Posted October 30, 2013 Confirmed, added as CORE-847 for v3.0.6.
Recommended Posts