Skip to content
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.

Allow to generate categories #8

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

PascalBrouwers
Copy link

No description provided.

@eInyzant
Copy link

Thank you for your patch. I just used it and it worked like a charm.

@gediminaskv
Copy link

gediminaskv commented May 23, 2017

@PascalBrouwers I've got [Exception]
Item (Magento\Catalog\Model\Category\Interceptor) with the same ID "57" alr
eady exists.

@sharmstr
Copy link

sharmstr commented Jun 7, 2017

Life saver! Thank you!

andrewhowdencom and others added 2 commits October 5, 2017 15:34
With Magento 2.1.8+ CLI commands are constructed when the CLI client is
invoked. Additionally, DI will construct any objects that those commands
type in their constructors, so on and so fourth down the stack.

The problem is, this extension may exist in an environment in which the
store is not yet installed, and the database is thus unavailable. A
common place this is used is in 2.1.x in CI, as the database is required
in order to generate static content.

This commit proxies the dependencies of this constructor, such that the
constructor can be used (and thus appear in the CLI menu) but not
invoked while the store is not installed.
Proxy the dependencies in the URL generation command
@peterjaap
Copy link

My fork also does this (along with url_path regeneration) although I use a slightly different approach; https://github.com/peterjaap/magento2-regenurl

@PascalBrouwers
Copy link
Author

Added some fixes when categories without childs would not be processed. @iazel would be nice if this could be merged.

@peterjaap
Copy link

peterjaap commented Jun 14, 2018

@PascalBrouwers @iazel hasn't been active on Github for months. My fork is the one with the most fixes now (I combined all PR's in this repo). Maybe you want to do your PR on my fork?

@PascalBrouwers
Copy link
Author

Sure

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants