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

        jonathan Jonathan Reissmueller created issue -
        tyson Tyson Phillips (Inactive) made changes -
        Field Original Value New Value
        Sprint 4.2.0 Sprint 3 [ 48 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
        Status Open [ 1 ] In Progress [ 3 ]
        Automated transition triggered when Jonathan Reissmueller created pull request #9 in Stash -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 15 minutes [ 900 ]
        Worklog Id 10441 [ 10441 ]
        tyson Tyson Phillips (Inactive) made changes -
        Fix Version/s 4.2.0-b1 [ 11014 ]
        Automated transition triggered when Tyson Phillips (Inactive) merged pull request #9 in Stash -
        Status In Review [ 5 ] Closed [ 6 ]

          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