You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating the module from 4.1 to 5.3 and then after running bin/magento set:up, I receive this error.
Unable to apply data patch BitExpert\ForceCustomerLogin\Setup\Patch\Data\Patch501 for module BitExpert_ForceCustomerLogin. Original exception message: Whitelist entry not editable.
After updating the module from 4.1 to 5.3 and then after running bin/magento set:up, I receive this error.
Unable to apply data patch BitExpert\ForceCustomerLogin\Setup\Patch\Data\Patch501 for module BitExpert_ForceCustomerLogin. Original exception message: Whitelist entry not editable.
I took a look into it and found the source of the issue. The issue is that, previously we have added some records to the
bitexpert_forcelogin_whitelist
with editable 0 by default. (https://github.com/bitExpert/magento2-force-login/blob/7cdd89556ba2cfbadb38565f6405eeea94b7f43e/Setup/UpgradeData.php#L235C9-L241C11) using setup script and then in version 5 we return error if the editable is 0, and I think when we are making editable automatically 0 then we should not return exception in futurehttps://github.com/bitExpert/magento2-force-login/blob/master/Repository/WhitelistRepository.php => line 79
Preconditions
Updating from Magento2-force-login version 4.1 to version 5.3
PHP 8.2
Magento Version : 2.4.6-p4
Force Login Module Version :
Third party modules :
Steps to reproduce
Expected result
Actual result
The text was updated successfully, but these errors were encountered: