-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Error category in Backend #1758
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
Closed
Closed
Conversation
This file contains hidden or 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
…er after placing order #1512
- Fixed L3 build
- Fixed L3 build
…te new address) -- fixed issues from code review
…o-retrieve-store-currency-information
…-for-dynamic-bundle
…te new address) -- fixed issues from code review
- moved css from jQuery.multiselect.css into _module.less (the new style.css)
…uttons-on-create-new-tax-rule-page
- Stabilization
…er after placing order #1512
Conflicts: app/code/Magento/Ui/view/base/web/js/form/element/abstract.js app/code/Magento/Ui/view/base/web/js/form/element/boolean.js
[Tango] S58 - Support Tool, Child Containers, Bug Fixes
- fixed static test
[GoInc] GitHub and Merchant Beta issues fixes
[Extensibility] Sprint 56 pull request
…ustomer does not specify gender #1496
[Firedrakes] Sprint 49 bugfixes
This reverts commit 538bd0a.
[Folks] Sprint 74
[GITHUB] Merge public Github PRs
magento-team
pushed a commit
that referenced
this pull request
Dec 12, 2017
Fixed issues: - MAGETWO-83152: [github] Pages are cached in browser and not updated
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
When I click on any category in backend, it return this string in white page:
{"data":[{"text":"Apple (1)","id":"4","store":1,"path":"1/2/4","cls":"folder active-category","allowDrop":true,"allowDrag":true,"expanded":true}],"parameters":{"text":"Default Category (0)","draggable":false,"allowDrop":true,"id":2,"expanded":0,"store_id":1,"category_id":4,"root_visible":1}}
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]);`