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 { ...@@ -68,9 +68,9 @@ public class MapModulePortlet extends MVCPortlet {
//case guest user //case guest user
result = JSONFactoryUtil.looseSerializeDeep(IdeasLocalServiceUtil.getIdeasByUserRoleProjectId(RoleConstants.GUEST, -1, projectId)); result = JSONFactoryUtil.looseSerializeDeep(IdeasLocalServiceUtil.getIdeasByUserRoleProjectId(RoleConstants.GUEST, -1, projectId));
} }
System.out.println(result.isEmpty()); System.out.println(result.equals(null) || result.equals(""));
if(result.isEmpty()){ if(result.equals(null) || result.equals("")){
System.out.println("xxx");
//at least return all accepted ideas in any case //at least return all accepted ideas in any case
result = JSONFactoryUtil.looseSerializeDeep(IdeasLocalServiceUtil.getAllAccpetedIdeas()); 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