Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
reg-app
Regapp
Commits
251f1a63
Commit
251f1a63
authored
Aug 04, 2020
by
ls1947
Browse files
Approval/deny of user failed
parent
6ace5e93
Changes
1
Hide whitespace changes
Inline
Side-by-side
bwreg-webapp/src/main/java/edu/kit/scc/webreg/bean/ApproveUserBean.java
View file @
251f1a63
...
@@ -76,7 +76,6 @@ public class ApproveUserBean implements Serializable {
...
@@ -76,7 +76,6 @@ public class ApproveUserBean implements Serializable {
logger
.
warn
(
"Could not approve user registry"
,
e
);
logger
.
warn
(
"Could not approve user registry"
,
e
);
return
""
;
return
""
;
}
}
entity
=
service
.
save
(
entity
);
return
ViewIds
.
LIST_APPROVALS
+
"?faces-redirect=true&serviceId="
+
entity
.
getService
().
getId
();
return
ViewIds
.
LIST_APPROVALS
+
"?faces-redirect=true&serviceId="
+
entity
.
getService
().
getId
();
}
}
...
@@ -93,7 +92,6 @@ public class ApproveUserBean implements Serializable {
...
@@ -93,7 +92,6 @@ public class ApproveUserBean implements Serializable {
logger
.
warn
(
"Could not deny approval for user registry"
,
e
);
logger
.
warn
(
"Could not deny approval for user registry"
,
e
);
return
""
;
return
""
;
}
}
entity
=
service
.
save
(
entity
);
return
ViewIds
.
LIST_APPROVALS
+
"?faces-redirect=true&serviceId="
+
entity
.
getService
().
getId
();
return
ViewIds
.
LIST_APPROVALS
+
"?faces-redirect=true&serviceId="
+
entity
.
getService
().
getId
();
}
}
...
...
Write
Preview
Markdown
is supported
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