Skip to content

Commit 037e0ac

Browse files
author
Marcin Przepiorowski
committed
v2.4.24.1
2 parents 3ab0c77 + b8ea43f commit 037e0ac

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 2.4.24.1
2+
3+
### Changes
4+
- fix for dx_get_js_snapshots preventing crash
5+
16
## 2.4.24
27

38
### Added

bin/dx_get_js_snapshots.pl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,12 @@
237237
} else {
238238
$snapsize = $snapshot_sizes{$snapref};
239239
}
240-
$parentname = $databases->getDB($snapshots->getSnapshotContainer($snapref))->getName();
240+
my $parentdbobj = $databases->getDB($snapshots->getSnapshotContainer($snapref));
241+
if (defined($parentdbobj)) {
242+
$parentname = $parentdbobj->getName();
243+
} else {
244+
$parentname = 'N/A';
245+
}
241246
}
242247

243248
if (defined($operation_for_conttf)) {

lib/Toolkit_helpers.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ use File::Spec;
2929

3030
use lib '../lib';
3131

32-
our $version = '2.4.24';
32+
our $version = '2.4.24.1';
3333

3434
my $tz = new Date::Manip::TZ;
3535
my $dt = new Date::Manip::Date;

0 commit comments

Comments
 (0)