Add hex generation code to tempspace Storage objects. Otherwise, they return undef.
This commit is contained in:
parent
277701a2cc
commit
1d3d61e16f
2 changed files with 14 additions and 6 deletions
|
|
@ -617,7 +617,7 @@ sub createTemp {
|
|||
my $path = $session->id->toHex($id);
|
||||
|
||||
$path =~ m/^(.{2})/;
|
||||
my $self = {_session=>$session, _id => $id, _Hexid => $path, _pathParts => ['temp', $1, $path], _errors => []};
|
||||
my $self = {_session=>$session, _id => $id, _hexId => $path, _pathParts => ['temp', $1, $path], _errors => []};
|
||||
bless $self, ref($class)||$class;
|
||||
$self->_makePath;
|
||||
return $self;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue