Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem when adding/updating products on big catalogs #201

Open
AdrienPlx opened this issue Apr 4, 2024 · 0 comments
Open

Problem when adding/updating products on big catalogs #201

AdrienPlx opened this issue Apr 4, 2024 · 0 comments

Comments

@AdrienPlx
Copy link

Hi !

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 :
image

I just added a fix on the function DfCategoryBuild::build() to avoid this issue :

image

On the foreach, just added this code :
if (!Category::categoryExists($category)) { continue; }

Have a nice day

@AdrienPlx AdrienPlx changed the title Problem when adding/updating products on bi catalogs Problem when adding/updating products on big catalogs Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant