Add hex generation code to tempspace Storage objects. Otherwise, they return undef.

This commit is contained in:
Colin Kuskie 2009-07-02 16:01:03 +00:00
parent 277701a2cc
commit 1d3d61e16f
2 changed files with 14 additions and 6 deletions

View file

@ -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;