-
Notifications
You must be signed in to change notification settings - Fork 78
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
Category Import fixes #121
Conversation
@avstudnitz, do you think we can merge this? |
@rbrown, would you mind updating your PR and sending it to the current |
Without this explodeEsacped can be called without glue.
The refactor changed this code to use Magento\Framework\Stdlib\DateTime, but it's constructor isn't the same as \DateTime, so I reverted it. \DateTime->new accepting null is deprecated, so I also fixed that warning
Import/Category->indexValueAttributes holds a list of attributes that use the value of a select, rather than the label to update the database. This doesn't match with the validation code, which uses Magento\ImportExport\Model\Import::getAttributeType to
Hi @sprankhub I'm not sure I've done this right now. There should be three commits, 1 to add a default category separator, with this I didn't need to reorder the method parameters, 2. Use the right DateTime class and 3. A fix for importing boolean attributes. |
Thanks a lot, @rbrown! I hope my comments make sense to you :) |
This reverts commit db3d2ce.
Thanks, @rbrown! |
This has the compatibility fixes I commented on, sets a default category_path_seperator "/", and reverses the parameters for explodeEscaped because having the first parameter optional is deprecated.