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

        There are no comments yet on this 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