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

Changing a service's package does not update service fields

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 3.4.3
    • Fix Version/s: 3.5.0
    • Component/s: None
    • Labels:
      None

      Description

      Module::changeServicePackage describes that it may return an array of updated service fields. However, when this method is called in Services::edit, no return value is used. This causes the service to not be updated to its new service fields when changing the package.

      Additionally, a subsequent call to Module::addService or Module::editService is made, which does return service fields to be set to the service. These service fields would override any returned from Module::changeServicePackage if they were used.

      Question:
      Should the service fields from Module::changeServicePackage be set on the service and included in the subsequent call to Module::addService or Module::editService calls?

        Activity

        tyson Tyson Phillips (Inactive) created issue -
        tyson Tyson Phillips (Inactive) made changes -
        Field Original Value New Value
        Fix Version/s 3.5.0 [ 10702 ]
        tyson Tyson Phillips (Inactive) made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        tyson Tyson Phillips (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              25/Jun/15