我们有请求跟踪器4.4.3。我们有一个使用Business::Hours分布的自动化脚本。这是必不可少的部分:
sub IsApplicable {
my $self = shift;
my $bhours = $self->BusinessHours;
my $ticket = $self->TicketObj;
my $due = $ticket->DueObj->Unix;
my $bseconds = $bhours->between( time(), $due );
}
有时我们会收到 stderr 错误:
[23406] [Wed Mar 13 07:40:09 2019] [critical]: Set::IntSpan::_copy_run_list: Bad order 2: 1552462809-1552462694
at /usr/local/share/perl5/Business/Hours.pm line 269. (/opt/rt4/bin/../lib/RT.pm:408)
Set::IntSpan::_copy_run_list: Bad order 2: 1552462809-1552462694
at /usr/local/share/perl5/Business/Hours.pm line 269.
这似乎没有意义,1552462809-1552462694 几乎等于 115。
如何分析/修复此错误?