Bug 1433313
Summary: | DateTime::Set->from_recurrence() erroneously returns empty set in particular cases | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | fixfax1703 | ||||
Component: | perl-TimeDate | Assignee: | Orphan Owner <extras-orphan> | ||||
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | epel7 | CC: | extras-orphan, fixfax1703, wtogami | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2024-07-09 02:04:13 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
EPEL 7 entered end-of-life (EOL) status on 2024-06-30.\n\nEPEL 7 is no longer maintained, which means that it\nwill not receive any further security or bug fix updates.\n As a result we are closing this bug. |
Created attachment 1264008 [details] This script will check a number of input combinations and report on stdout those that trigger the bug. Description of problem: The following call of DateTime::Set->from_recurrence() returns an empty set for particular combinations of $dt_start and $dt_end: my $ds = DateTime::Set->from_recurrence( recurrence => sub { return $_[0]->add( weeks => 1 ); }, span => DateTime::Span -> from_datetimes ( start => $dt_start, end => $dt_end ) ) ; Version-Release number of selected component (if applicable): perl-DateTime-Set-0.33-3.el7.noarch How reproducible: always Steps to Reproduce: Run attached script (!contains infinite loop - kill it as appropriate). Stdout will show the start/end dates triggering the bug Stderr will show the tested input combinations Actual results: See stdout Expected results: Nothing should be printed to stdout Additional info: