have edit branch send properties as a copy instead of a reference
This commit is contained in:
parent
2b2fa12d0e
commit
3dbde9ff3f
2 changed files with 3 additions and 1 deletions
|
|
@ -29,6 +29,7 @@
|
|||
- add: DataForm template variable for the group to view entries
|
||||
- fix: EMS Badge Reporting overlaps with other EMS on the system
|
||||
- fix: SQLReport templatable download doesn't run nested queries
|
||||
- fix: Edit branch copies hide from navigation setting from events and posts to rest of branch
|
||||
- Dashboard now shows default view if user hasn't configured their own view
|
||||
|
||||
7.4.5
|
||||
|
|
|
|||
|
|
@ -297,7 +297,8 @@ sub www_editBranchSave {
|
|||
$data{url} .= $descendant->get("url");
|
||||
}
|
||||
}
|
||||
my $newRevision = $descendant->addRevision(\%data, undef, {skipAutoCommitWorkflows=>1});
|
||||
# copy of %data instead of reference so modifications don't propagate to the next asset
|
||||
my $newRevision = $descendant->addRevision({%data}, undef, {skipAutoCommitWorkflows=>1});
|
||||
foreach my $form ($self->session->form->param) {
|
||||
if ($form =~ /^metadata_(.*)$/) {
|
||||
my $fieldName = $1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue