Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Gitlab will go into maintenance Friday 3rd February from 9:00 to 10:00
Open sidebar
minerva
core
Commits
0eaccd24
Commit
0eaccd24
authored
Aug 13, 2019
by
Piotr Gawron
Browse files
user must be refetched from database
parent
43779e8f
Pipeline
#12738
canceled with stage
in 55 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
0eaccd24
...
...
@@ -12,6 +12,7 @@ minerva (14.0.0~alpha.1) unstable; urgency=low
loaded plugins (#885)
* Bug fix: link to molart was brokwn (#886)
* Bug fix: context menu visualization fixed
* Bug fix: problem with uploading projects (#887)
-- Piotr Gawron <piotr.gawron@uni.lu> Mon, 12 Aug 2019 10:00:00 +0200
...
...
service/src/main/java/lcsb/mapviewer/services/impl/ProjectService.java
View file @
0eaccd24
...
...
@@ -679,7 +679,8 @@ public class ProjectService implements IProjectService {
*/
protected
void
createModel
(
final
CreateProjectParams
params
,
Project
dbProject
)
throws
InvalidInputDataExecption
,
ConverterException
{
UserAnnotationSchema
userAnnotationSchema
=
params
.
getUser
().
getAnnotationSchema
();
User
dbUser
=
userDao
.
getById
(
params
.
getUser
().
getId
());
UserAnnotationSchema
userAnnotationSchema
=
dbUser
.
getAnnotationSchema
();
if
(
userAnnotationSchema
==
null
)
{
userAnnotationSchema
=
new
UserAnnotationSchema
();
}
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment