Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
Paul-Christian Volkmer
ARSnova Backend
Commits
1136e454
Commit
1136e454
authored
8 years ago
by
Tom Käsler
Browse files
Options
Downloads
Patches
Plain Diff
set pp attributes when exporting to public pool
parent
ffbb7473
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/thm/arsnova/services/SessionService.java
+1
-0
1 addition, 0 deletions
src/main/java/de/thm/arsnova/services/SessionService.java
with
1 addition
and
0 deletions
src/main/java/de/thm/arsnova/services/SessionService.java
+
1
−
0
View file @
1136e454
...
...
@@ -414,6 +414,7 @@ public class SessionService implements ISessionService, ApplicationEventPublishe
@PreAuthorize
(
"isAuthenticated() and hasPermission(#sessionkey, 'session', 'owner')"
)
public
SessionInfo
copySessionToPublicPool
(
String
sessionkey
,
de
.
thm
.
arsnova
.
entities
.
transport
.
ImportExportSession
.
PublicPool
pp
)
{
ImportExportSession
temp
=
databaseDao
.
exportSession
(
sessionkey
,
false
,
false
);
temp
.
getSession
().
setPublicPool
(
pp
);
temp
.
getSession
().
setSessionType
(
"public_pool"
);
final
User
user
=
userService
.
getCurrentUser
();
return
databaseDao
.
importSession
(
user
,
temp
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment