-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Error In CategoryEdit #1766
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
Error In CategoryEdit #1766
Conversation
We have automated a Magento Contributor License Agreement verifier for contributions sent to our GitHub projects. |
@shausol Can you check the CLA is signed? |
Yes i signed the CLA right now. |
May i know you that why my pull request is not yet merged. I know that now you people change the way of category edit. But my solution works on previous version of m2 |
Hello @shaheerali49, could you please clarify what particular version do you work with? |
@shaheerali49, can you advise on what particular version you were woking with? |
Please check the issue |
@Snohe please check the reference link for issue and the fix is for M2 beta version |
@benmarks @Snohe @KrystynaKabannyk @vpelipenko @kandy any update about this thread ? |
@shaheerali49 Hi, is this issue still reproduced on the latest develop branch? I noticed that in the code of the pull request, this variable is completely ignored |
@shaheerali49 does not seem like applicable anymore. Please feel free to re-create if it can be reproduced. |
Public Pull Requests #12135 10210: Transport variable can not be altered in email_invoice_set_template_vars_before Event (backport MAGETWO-69482 to 2.1). by @RomaKis #12043 [Backport 2.1] Add swatch option: Prevent loosing data and default value if data is not populated via adminhtml by @gomencal Fixed Public Issues #10210 Transport variable can not be altered in email_invoice_set_template_vars_before Event #9410 Impossible to add swatch options via Service Contracts if there is no existing swatch option for attribute #10707 Create attribute option via API for swatch attribute fails #10737 Can't import attribute option over API if option is 'visual swatch' #11032 Unable to add new options to swatch attribute
When I click on any category in backend, it return this string in white page:
The issue is coming from the file
Magento\Catalog\Controller\Adminhtml\Category\Tree.php
. It return the json result. The solution is that copy the code from line no 60 in execute function$resultRedirect = $this->resultRedirectFactory->create();
and paste it at the start of the function and end of the execute function remove return from the linereturn $resultJson->setData(...);
and add a line below this code
return $resultRedirect->setPath('catalog/category/edit', ['_current' => true, 'id' => $categoryId]);