Ticket #269 (assigned defect)
Recurring Invoice Recurrs Immediately
| Reported by: | james.pearce@… | Owned by: | brieb |
|---|---|---|---|
| Priority: | major | Milestone: | 1.0 |
| Component: | phpbms | Version: | 0.92 |
| Keywords: | needsReview | Cc: |
Description
If the invoice date is today, and the invoice is set to recur, the invoice will recur immediately. More specifically, the invoice will recur at the next cron interval provided cron is set to run the scheduler "today".
Reproduction:
1) Create an invoice
2) Set the invoice date to today (i.e. it will be the same as the default order date then)
3) Save
4) Go to recurrence tab
5) Set to recur every 1 year with default settings
6) Save
In the example of cron running the scheduler every minute, the invoice will repeat every minute even though it is not supposed to repeat until next year. I have tested this with monthly repeating as well with the same effect as above.
Bug appears to be present in 0.94 and 0.96