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
I faced an issue with the module on some CLI scripts.
When the function DfCategoryBuild::buildCategory($category) is called with a non valid Category object, this line break the code and exit with an exception :
I just added a fix on the function DfCategoryBuild::build() to avoid this issue :
On the foreach, just added this code : if (!Category::categoryExists($category)) { continue; }
Have a nice day
The text was updated successfully, but these errors were encountered:
AdrienPlx
changed the title
Problem when adding/updating products on bi catalogs
Problem when adding/updating products on big catalogs
Apr 4, 2024
Hi !
I faced an issue with the module on some CLI scripts.
![image](https://private-user-images.githubusercontent.com/43446598/319666745-9225226c-1c9d-4ef1-8c40-eb673db01be4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwNzYxNDIsIm5iZiI6MTcyNjA3NTg0MiwicGF0aCI6Ii80MzQ0NjU5OC8zMTk2NjY3NDUtOTIyNTIyNmMtMWM5ZC00ZWYxLThjNDAtZWI2NzNkYjAxYmU0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDE3MzA0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU0NGJmMTEyNTVlMmJjNjRjMGMxMjljMGJkMmNiNWM2NTYxNDdmMTNkZjhhMzlkYThiYzEyM2FkYjE0N2I2NGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.KWw337L-6iZSaQFWrvcLzPzoIF9LJdbXy6Doe6s7SW8)
When the function DfCategoryBuild::buildCategory($category) is called with a non valid Category object, this line break the code and exit with an exception :
I just added a fix on the function DfCategoryBuild::build() to avoid this issue :
On the foreach, just added this code :
if (!Category::categoryExists($category)) { continue; }
Have a nice day
The text was updated successfully, but these errors were encountered: