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

cPanel: Changing server causes fatal error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.2.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      Reported here: https://www.blesta.com/forums/index.php?/topic/10568-cpanel-module-edit-service/

      Undefined index: cpanel_domain on line 968 in /public_html/components/modules/cpanel/cpanel.php

      The module assumes that a domain will be submitted when editing a service but this is not the case when changing servers. We should add an error check.

      if (isset($vars['cpanel_domain'])) {			
          $vars['cpanel_domain'] = $this->formatDomain($vars['cpanel_domain']);
      }
      

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              5/Dec/17

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 15 minutes
              15m

                Agile