Commit ab558dab authored by Elias Englmeier's avatar Elias Englmeier
Browse files

print to test server

parent 5b85789b
......@@ -68,9 +68,9 @@ public class MapModulePortlet extends MVCPortlet {
//case guest user
result = JSONFactoryUtil.looseSerializeDeep(IdeasLocalServiceUtil.getIdeasByUserRoleProjectId(RoleConstants.GUEST, -1, projectId));
}
System.out.println(result.isEmpty());
if(result.isEmpty()){
System.out.println("xxx");
System.out.println(result.equals(null) || result.equals(""));
if(result.equals(null) || result.equals("")){
//at least return all accepted ideas in any case
result = JSONFactoryUtil.looseSerializeDeep(IdeasLocalServiceUtil.getAllAccpetedIdeas());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment