diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index a291ea283..85448dbd2 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -23,6 +23,7 @@ - Survey editor now keeps survey objects in a scrollable panel to keep buttons always in view. - fixed #10198: Cannot drag assets to new positions on page - fixed #10190: Matrix 2.0 - Strange characters in "Show Ratings" box + - fixed #10143: Matrix 2.0 - Product maintainer accounts changed during upgrade - rfe: #10002: User Manager, view User's Profile (perlDreamer Consulting) - rfe: #10073: Account system to be able to return XML/JSON (perlDreamer Consulting) - Replaced the tax system with a pluggable one. Included are a Generic plugin diff --git a/lib/WebGUI/Asset/MatrixListing.pm b/lib/WebGUI/Asset/MatrixListing.pm index 1b4b303dd..892d3d6a9 100644 --- a/lib/WebGUI/Asset/MatrixListing.pm +++ b/lib/WebGUI/Asset/MatrixListing.pm @@ -312,6 +312,19 @@ sub getEditForm { hoverHelp =>$i18n->get('maintainer description'), ); } + else{ + my $userId; + if ($func eq "add"){ + $userId = $session->user->userId; + } + else{ + $userId = $self->get('ownerUserId'); + } + $form->hidden( + -name =>'ownerUserId', + -value =>$userId, + ); + } $form->text( -name =>'version', -defaultValue =>undef,