Skip to content

Conversation

@shaheerali49
Copy link

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 line
return $resultJson->setData(...);
and add a line below this code
return $resultRedirect->setPath('catalog/category/edit', ['_current' => true, 'id' => $categoryId]);`

vpaladiychuk and others added 30 commits August 19, 2015 18:02
…te new address)

 -- fixed issues from code review
…te new address)

 -- fixed issues from code review
- moved css from jQuery.multiselect.css into _module.less (the new style.css)
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
irenelagno and others added 27 commits August 28, 2015 11:51
[Tango] S58 - Support Tool, Child Containers, Bug Fixes
[GoInc] GitHub and Merchant Beta issues fixes
[Extensibility] Sprint 56 pull request
[GITHUB] Merge public Github PRs
@vpelipenko vpelipenko added the MX label Sep 1, 2015
@vpelipenko vpelipenko closed this Sep 1, 2015
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.