Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
559134cb
Commit
559134cb
authored
Feb 09, 2021
by
Piotr Gawron
Browse files
broken overlays crashed migration script
parent
1c3e1264
Pipeline
#37388
passed with stage
in 22 minutes and 29 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
559134cb
...
...
@@ -13,6 +13,7 @@ minerva (16.0.0~alpha.1) stable; urgency=medium
are
supported
(#
1452
,
#
1450
,
#
1420
)
*
Bug
fix
:
removing
plugin
that
does
not
exist
anymore
does
not
raise
an
error
(#
1289
)
*
Bug
fix
:
broken
overlays
crashed
minerva
upgrade
(#
1453
)
--
Piotr
Gawron
<
piotr
.
gawron
@
uni
.
lu
>
Tue
,
9
Feb
2020
08
:
00
:
00
+
0200
...
...
persist/src/main/java/lcsb/mapviewer/persist/migration/V16_0_0_20200930_2__generic_data_overlay_entry_data.java
View file @
559134cb
...
...
@@ -95,7 +95,8 @@ public abstract class V16_0_0_20200930_2__generic_data_overlay_entry_data extend
return
DEFAULT_GENOME_VERSION
;
}
private
void
addEntries
(
Integer
overlayId
,
Set
<?
extends
DataOverlayEntry
>
entries
,
Context
context
)
throws
SQLException
{
private
void
addEntries
(
Integer
overlayId
,
Set
<?
extends
DataOverlayEntry
>
entries
,
Context
context
)
throws
SQLException
{
for
(
DataOverlayEntry
dataOverlayEntry
:
entries
)
{
String
distinguisher
=
"GENERIC_DATA_OVERLAY"
;
if
(
dataOverlayEntry
instanceof
GeneVariantDataOverlayEntry
)
{
...
...
@@ -340,7 +341,11 @@ public abstract class V16_0_0_20200930_2__generic_data_overlay_entry_data extend
for
(
int
i
=
0
;
i
<
columns
.
length
;
i
++)
{
String
column
=
columns
[
i
].
trim
().
toLowerCase
();
String
value
=
data
[
i
];
String
value
=
null
;
//there might be some broken entries
if
(
data
.
length
>
i
)
{
value
=
data
[
i
];
}
if
(
value
!=
null
&&
!
value
.
trim
().
isEmpty
())
{
...
...
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