Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
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
...
@@ -12,6 +12,7 @@ minerva (14.0.0~alpha.1) unstable; urgency=low
loaded plugins (#885)
loaded plugins (#885)
* Bug fix: link to molart was brokwn (#886)
* Bug fix: link to molart was brokwn (#886)
* Bug fix: context menu visualization fixed
* 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
-- 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 {
...
@@ -679,7 +679,8 @@ public class ProjectService implements IProjectService {
*/
*/
protected
void
createModel
(
final
CreateProjectParams
params
,
Project
dbProject
)
protected
void
createModel
(
final
CreateProjectParams
params
,
Project
dbProject
)
throws
InvalidInputDataExecption
,
ConverterException
{
throws
InvalidInputDataExecption
,
ConverterException
{
UserAnnotationSchema
userAnnotationSchema
=
params
.
getUser
().
getAnnotationSchema
();
User
dbUser
=
userDao
.
getById
(
params
.
getUser
().
getId
());
UserAnnotationSchema
userAnnotationSchema
=
dbUser
.
getAnnotationSchema
();
if
(
userAnnotationSchema
==
null
)
{
if
(
userAnnotationSchema
==
null
)
{
userAnnotationSchema
=
new
UserAnnotationSchema
();
userAnnotationSchema
=
new
UserAnnotationSchema
();
}
}
...
...
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