Znuny/Znuny LTS is a fork of the ((OTRS)) Community Edition, one of the most flexible web-based ticketing systems used for Customer Service, Help Desk, IT Service Management.
Note for ticket should be submitted if not required DateTime dynamic field with limitation 'Prevent entry of dates in the past' was not touched on the form
Actual behavior
DateTime dynamic field with limitation 'Prevent entry of dates in the past' raises error 'Invalid date (need a future date)!' even mark for field activation is not set
How to reproduce
Steps to reproduce the behavior:
Create a dynamic field (Object type=Ticket, Field Type= Date/Time, Restrict entering of dates='Prevent entry of dates in the past')
Link this dynamic field with AgentTicketNote screen as not required
$Self->{'Ticket::Frontend::AgentTicketNote'}->{'DynamicField'} = { 'Test' => '1' };
Create a New Phone Ticket
Go to Communication -> Note in the created ticket.
Fill Subject/Body but don't touch dynamic field and don't activate it with mark (checkbox).
Try to submit form and see error 'Invalid date (need a future date)!' on dynamic field.
Environment
Expected behavior
Note for ticket should be submitted if not required DateTime dynamic field with limitation 'Prevent entry of dates in the past' was not touched on the form
Actual behavior
DateTime dynamic field with limitation 'Prevent entry of dates in the past' raises error 'Invalid date (need a future date)!' even mark for field activation is not set
How to reproduce
Steps to reproduce the behavior:
$Self->{'Ticket::Frontend::AgentTicketNote'}->{'DynamicField'} = { 'Test' => '1' };
Screenshots