fixing a problem with hex and JSON
gettign rid of the migration.txt script, because it's now published on the site instead since all changes are complete
This commit is contained in:
parent
988975abea
commit
d24ac0b273
11 changed files with 10 additions and 952 deletions
|
|
@ -65,7 +65,7 @@ sub exportPackage {
|
|||
my $storage = WebGUI::Storage->createTemp($self->session);
|
||||
foreach my $asset (@{$self->getLineage(["self","descendants"],{returnObjects=>1})}) {
|
||||
my $data = $asset->exportAssetData;
|
||||
$storage->addFileFromScalar($data->{properties}{lineage}.".json", JSON::objToJson($data));
|
||||
$storage->addFileFromScalar($data->{properties}{lineage}.".json", JSON::objToJson($data,{pretty => 1, indent => 4, autoconv=>0, skipinvalid=>1}));
|
||||
foreach my $storageId (@{$data->{storage}}) {
|
||||
my $assetStorage = WebGUI::Storage->get($self->session, $storageId);
|
||||
$assetStorage->tar($storageId.".storage", $storage);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue