When the 'attributes' feature is enabled, upon visiting a 'bundle product' page an ArgumentNullException is logged to the debug log and the add button/form is missing.
It appears that attributes cannot be added to a bundle product, but GetAttributeDisplayShape expects attributes from any product.
Environment:
Win 7 (IIS 7.5)
VS2013 Update 3
ASP.NET 4.5
SQL Server Express 2012 with advanced services
Orchard v 1.8.1
Nwazet.Commerce: (bleroy-nwazet.commerce-ae3e0a6299a9) Download from Bitbucket
Steps to repro:
1) Check/enable 'Bundles' and 'Attributes' features.
2) Create 2 x products.
3) Create 1 x bundle comprised of the 2 x products from the previous step.
4) View the bundle product: (the add button/form is missing and a debug message is logged - attached).
Originally reported by: Leo Furze-Waddock (Bitbucket: lfurzewaddock, GitHub: lfurzewaddock)
When the 'attributes' feature is enabled, upon visiting a 'bundle product' page an ArgumentNullException is logged to the debug log and the add button/form is missing.
It appears that attributes cannot be added to a bundle product, but GetAttributeDisplayShape expects attributes from any product.
Environment:
Steps to repro: