magja/magja — Issue #21: 21 - NumberFormatException on RemoteServiceFactory.getCategoryRemoteService().getByIdWithChildren(id) 
Author: ceefour
Created: 2011-11-02 11:33:03+00:00
State: open

What steps will reproduce the problem?
1. try to load category with children

What is the expected output? What do you see instead?
category with children

What version of the product are you using? On what operating system?
Magento ver. 1.4.0.1

Please provide any additional information below.
CategoryRemoteServiceImpl.java:27 should be

if(category.get("children") != null && category.get("children").length>0) {
or
if(!StringUtils.isEmpty(category.get("children")) {

because an empty string is returned as "children" property if there are no
children

Original link: http://code.google.com/p/magja/issues/detail?id=21