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

Extension Generator: TLD parsing performed for all extensions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5.0-b2
    • Component/s: None
    • Labels:
      None

      Description

      To reproduce:

      • Generate an extension of any type other that module

      To resolve, change:

              // Parse TLDs
              $data['tlds'] = explode(',', trim($data['tlds'])) ?? [];
              foreach ($data['tlds'] as &$tld) {
                  $tld = ['tld' => trim($tld)];
              }
      

      To

              // Parse TLDs
              if (isset($data['tlds'])) {
                  $data['tlds'] = explode(',', trim($data['tlds'])) ?? [];
                  foreach ($data['tlds'] as &$tld) {
                      $tld = ['tld' => trim($tld)];
                  }
              }
      

        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:
              13/Jul/22

              Time Tracking

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

                Agile