Skip to content

Commit

Permalink
Issue #3689: Do not attempt to set values for script fields from df b…
Browse files Browse the repository at this point in the history
…ackend without store param.
  • Loading branch information
Sven committed Aug 8, 2024
1 parent dafe99f commit eac96d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Kernel/System/DynamicField/Backend.pm
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,9 @@ sub ValueSet {
return;
}

# do not set value for script fields automatically; check this directly
return 1 if $Self->{$DynamicFieldBackend}{Behaviors}{IsScriptField} && !$Param{Store};

my $OldValue = $Self->ValueGet(
DynamicFieldConfig => $Param{DynamicFieldConfig},
ObjectID => $Param{ObjectID},
Expand Down

0 comments on commit eac96d1

Please sign in to comment.