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

Pending services activated manually use the module when not selected to

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.1.4, 3.2.0-b1
    • Component/s: Staff Interface
    • Labels:
      None

      Description

      When attempting to activate a pending service in the admin interface, unchecking "Use Module" and activating the service still attempts to use the module.

        Activity

        tyson Tyson Phillips (Inactive) created issue -
        tyson Tyson Phillips (Inactive) made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        tyson Tyson Phillips (Inactive) added a comment - - edited

        To fix yourself, update /app/controllers/admin_clients.php

        Assuming you are running v3.1.3, find line 3472:
        -------------
        if (!empty($this->post)) {
        $this->Services->edit($service->id, $this->post, false, (isset($this->post['notify_order']) && $this->post['notify_order'] == "true"));
        ------------

        and change it to:

        ------------
        if (!empty($this->post)) {
        if (!isset($this->post['use_module']))
        $this->post['use_module'] = "false";
        $this->Services->edit($service->id, $this->post, false, (isset($this->post['notify_order']) && $this->post['notify_order'] == "true"));
        ------------

        Show
        tyson Tyson Phillips (Inactive) added a comment - - edited To fix yourself, update /app/controllers/admin_clients.php Assuming you are running v3.1.3, find line 3472: ------------- if (!empty($this->post)) { $this->Services->edit($service->id, $this->post, false, (isset($this->post ['notify_order'] ) && $this->post ['notify_order'] == "true")); ------------ and change it to: ------------ if (!empty($this->post)) { if (!isset($this->post ['use_module'] )) $this->post ['use_module'] = "false"; $this->Services->edit($service->id, $this->post, false, (isset($this->post ['notify_order'] ) && $this->post ['notify_order'] == "true")); ------------
        tyson Tyson Phillips (Inactive) made changes -
        Status In Progress [ 3 ] 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:
              23/Apr/14