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

Package pricing may be deleted while in use

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.2
    • Component/s: None
    • Labels:
      None

      Description

      To reproduce:

      • Create a package with 2 pricing options
      • Create a service using one of the options
      • Edit the package and remove the selected pricing option (this shouldn't be possible)
      • Visit the client profile and see that the service non longer appears

      We should give an error if an admin tries to remove a pricing that is in use. It looks like the package model already has a validation rule meant to do this, but it doesn't seem to be working.

      Ideally, we would also allow the deactivation of pricings with only canceled services.

        Activity

        jonathan Jonathan Reissmueller made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Time Spent 7 hours, 26 minutes [ 26760 ] 7 hours, 51 minutes [ 28260 ]
        Worklog Id 15400 [ 15400 ]
        jonathan Jonathan Reissmueller made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Review [ 5 ] Closed [ 6 ]
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 7 hours, 26 minutes [ 26760 ]
        Worklog Id 15396 [ 15396 ]
        abdy Abdy Franco made changes -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        abdy Abdy Franco made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        abdy Abdy Franco made changes -
        Assignee Abdy Franco [ abdy ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked lower
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.3.0 Sprint 4 [ 145 ]
        jonathan Jonathan Reissmueller made changes -
        Field Original Value New Value
        Rank Ranked higher
        jonathan Jonathan Reissmueller created issue -

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              14/Dec/21

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 7 hours, 51 minutes
              7h 51m

                Agile