Skip to content

Commit

Permalink
Issue #3915: Improved ValueSet error message for dynamic field date d…
Browse files Browse the repository at this point in the history
…river.
  • Loading branch information
stefanhaerter committed Nov 7, 2024
1 parent 07b14f0 commit 8d61982
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Kernel/System/DynamicField/Driver/Date.pm
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ sub ValueSet {

$Kernel::OM->Get('Kernel::System::Log')->Log(
Priority => 'error',
Message => "The value for the field Date is invalid!\n"
. "The date must be valid and the time must be 00:00:00",
Message => "The value $ValueItem for the field Date is invalid!\n"
. "The date must be in format 0000-00-00 and the time must be 00:00:00",
);

return;
Expand Down

0 comments on commit 8d61982

Please sign in to comment.