Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-2397

Pro-Rata services when activated roll back the renew date

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.1.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      When a Package with Pro-Rata enabled is ordered everything works great, but when it's activated by cron, the renew date is rolled backwards

      I believe this is related to CORE-912

      This should be updated so that the renew date will never be rolled backward, only forward. This would be consistent with the purpose of CORE-912, which is to extend the renew date because the service was not activated on the same day it was ordered.

      To duplicate:

      • Enable prorata for a package of say the 1st with a cutoff day prior to today.
      • Place an order for the package as a client. Note that the pending service has the correct renew date
      • Run the cron so that it activates the service. Notice the renew date is rolled backward

        Activity

        admin Paul Phillips created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Attachment capture-for-jira-screenshot-20170526-125800-156.png [ 11635 ]
        admin Paul Phillips made changes -
        Priority Critical [ 2 ] Blocker [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
        Status Open [ 1 ] In Progress [ 3 ]
        Automated transition triggered when Jonathan Reissmueller created pull request #288 in Stash -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        tyson Tyson Phillips (Inactive) made changes -
        Fix Version/s 4.0.2 [ 11011 ]
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.1.0 Sprint 5 [ 42 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        Automated transition triggered when Tyson Phillips (Inactive) merged pull request #291 in Stash -
        Status In Review [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              17/Jul/17

              Agile