Hello,
After upgrading directly from DragonByte eCommerce 3.4.0 to 4.2.0, I noticed that all previously featured products appeared as unfeatured. Upon investigating the database, I observed that the table
This indicates that the column
Impact of the Issue:
After upgrading directly from DragonByte eCommerce 3.4.0 to 4.2.0, I noticed that all previously featured products appeared as unfeatured. Upon investigating the database, I observed that the table
xf_dbtech_ecommerce_product
still contains the old column is_featured
alongside the new column featured
.This indicates that the column
is_featured
was not renamed to featured
during the upgrade process, as it should have been per the upgrade script in 4000053Step1
for DragonByte eCommerce 4.0.0 Release Candidate 3:
PHP:
public function upgrade4000053Step1(): void
{
$this->schemaManager()->alterTable('xf_dbtech_ecommerce_product', function (Alter $table)
{
$table->renameColumn('is_featured', 'featured');
});
}
Impact of the Issue:
- All previously featured products were no longer featured after the upgrade, requiring them to be manually marked as featured again.
- Although there are no visible errors and this issue can be resolved by manually dropping the
is_featured
column, it may cause confusion for others upgrading from older versions.
- Use DragonByte eCommerce 3.4.0 with some products marked as featured.
- Upgrade directly to DragonByte eCommerce 4.2.0.
- Observe that all previously featured products are not featured.
- Check the database table
xf_dbtech_ecommerce_product
to find both columnsis_featured
andfeatured
present.