fix 11768 Edit Branch does not update wgaccess
I can't seem to reproduce this problem in the tests...
This commit is contained in:
parent
b45c693802
commit
bd4e7a2ec0
3 changed files with 41 additions and 3 deletions
|
|
@ -59,6 +59,7 @@ sub addRevision {
|
|||
if ($newSelf->get("storageId") && $newSelf->get("storageId") eq $self->get('storageId')) {
|
||||
my $newStorage = $self->getStorageClass->get($self->session,$self->get("storageId"))->copy;
|
||||
$newSelf->update({storageId => $newStorage->getId});
|
||||
$newSelf->applyConstraints;
|
||||
}
|
||||
|
||||
return $newSelf;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue