Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
civitas-digitalis
platform
Commits
ab558dab
Commit
ab558dab
authored
Jan 23, 2018
by
Elias Englmeier
Browse files
print to test server
parent
5b85789b
Changes
2
Show whitespace changes
Inline
Side-by-side
modules/MapModule/bin/MapModule/portlet/MapModulePortlet.class
View file @
ab558dab
No preview for this file type
modules/MapModule/src/main/java/MapModule/portlet/MapModulePortlet.java
View file @
ab558dab
...
...
@@ -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
());
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment