This repository has been archived by the owner on Mar 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
Allow to generate categories #8
Open
PascalBrouwers
wants to merge
5
commits into
iazel:master
Choose a base branch
from
PascalBrouwers:feature/generate_category
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Allow to generate categories #8
PascalBrouwers
wants to merge
5
commits into
iazel:master
from
PascalBrouwers:feature/generate_category
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thank you for your patch. I just used it and it worked like a charm. |
@PascalBrouwers I've got [Exception] |
Life saver! Thank you! |
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
My fork also does this (along with url_path regeneration) although I use a slightly different approach; https://github.com/peterjaap/magento2-regenurl |
…/magento2-regenurl into feature/generate_category
Added some fixes when categories without childs would not be processed. @iazel would be nice if this could be merged. |
@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? |
Sure |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.