generating predictions can fail when there's a mismatch between frequency and pattern regularity
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Unassigned |
Bug Description
Consider a serials predication pattern whose code is this:
["0","0"
Although the frequency is monthly ($w = m), a pattern regularity value of $y = pd01 cause it to try to advance a day rather than a month when generating new predications, leading the alternate serials interface to hang.
There is also an associated crash like this:
Error: Error: Method error: undefined : *** Call to [open-ils.
The 'day' parameter (undef) to DateTime::new was an 'undef', which is not one of the allowed types: scalar
at /usr/lib/
DateTime:
MFHD::
[snip]
Such a pattern is very likely a mistake, but attempt to use it should present a more useful error message.
Evergreen 2.9 (probably master)
tags: | added: serials |
summary: |
- generating predications can fail when there's a mismatch between + generating predictions can fail when there's a mismatch between frequency and pattern regularity |