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
0ff36db7
Commit
0ff36db7
authored
Aug 13, 2020
by
Piotr Gawron
Browse files
check if project exists
parent
55ef0bc0
Pipeline
#31046
failed with stage
in 16 minutes and 48 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
0ff36db7
...
...
@@ -10,6 +10,8 @@ minerva (15.0.3) stable; urgency=medium
CellDesigner
(#
1281
)
*
Bug
fix
:
concurrency
issue
that
could
happen
rarely
on
first
search
of
the
map
and
put
the
project
into
"unsearchable"
state
is
fixed
(#
1333
)
*
Bug
fix
:
when
edit
project
buton
was
clicked
on
project
that
was
removed
in
another
tab
there
was
an
error
thrown
(#
1343
)
--
Piotr
Gawron
<
piotr
.
gawron
@
uni
.
lu
>
Wed
,
8
Jul
2020
16
:
00
:
00
+
0200
...
...
frontend-js/src/main/js/gui/admin/MapsAdminPanel.js
View file @
0ff36db7
...
...
@@ -529,9 +529,13 @@ MapsAdminPanel.prototype.showEditDialog = function (id) {
var
self
=
this
;
GuiConnector
.
showProcessing
();
return
self
.
getServerConnector
().
getProject
(
id
).
then
(
function
(
project
)
{
return
self
.
getDialog
(
project
);
}).
then
(
function
(
dialog
)
{
dialog
.
open
();
if
(
project
===
null
)
{
GuiConnector
.
warn
(
"
Project
\"
"
+
id
+
"
\"
does not exist
"
);
}
else
{
return
self
.
getDialog
(
project
).
then
(
function
(
dialog
)
{
dialog
.
open
();
});
}
}).
finally
(
function
()
{
GuiConnector
.
hideProcessing
();
});
...
...
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