Installation error after changeset

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
8 years ago
https://nopcommerce.codeplex.com/SourceControl/changeset/d179d80de71e118f473d252c6f3188b65b530259

CodeFirstInstallation
lines 5553

var productTemplateSimple = _productTemplateRepository.Table.FirstOrDefault(pt => pt.Name == "Simple product");
            if (productTemplateSimple == null)
                throw new Exception("Simple product template could not be loaded");
            var productTemplateGrouped = _productTemplateRepository.Table.FirstOrDefault(pt => pt.Name == "Grouped product");
            if (productTemplateGrouped == null)
                throw new Exception("Simple product template could not be loaded");


should be


var productTemplateSimple = _productTemplateRepository.Table.FirstOrDefault(pt => pt.Name == "Simple product");
            if (productTemplateSimple == null)
                throw new Exception("Simple product template could not be loaded");
            var productTemplateGrouped = _productTemplateRepository.Table.FirstOrDefault(pt => pt.Name == "Grouped product (with variants)");
            if (productTemplateGrouped == null)
                throw new Exception("grouped product template could not be loaded");
8 years ago
Hi Hezy,

Thanks a lot for reporting. Fixed!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.