Reset the isDefault flag on core assets only, and provide a final way fix this crap once and for all.
This commit is contained in:
parent
c8ad650398
commit
fe31cc96de
5 changed files with 118 additions and 3 deletions
|
|
@ -150,6 +150,12 @@ sub importAssetData {
|
|||
delete $properties{groupIdView};
|
||||
delete $properties{groupIdEdit};
|
||||
}
|
||||
if ($options->{clearPackageFlag}) {
|
||||
$properties{isPackage} = 0;
|
||||
}
|
||||
if ($options->{setDefaultTemplate}) {
|
||||
$properties{isDefault} = 1;
|
||||
}
|
||||
if ($revisionExists) { # update an existing revision
|
||||
$asset = WebGUI::Asset->new($self->session, $id, $class, $version);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue