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

Changing registrar module for TLD may break existing domains using previous registrar module

    Details

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

      Description

      I'm not sure if this is related to the domain manager, a registrar module, or the core, it requires further investigation. To reproduce do the following:

      1. Use logicboxes for a TLD, like .com, and add a domain.
      2. As an admin, click to Manage the domain and Edit as Service and click on the "Name Servers" tab.
      3. In another window, switch the TLD from Logicboxes to Namesilo or "Generic Domains".
      4. In our original window, refresh the page on the "Name Servers" tab for the original logicboxes domain.
      5. Note a white screen is displayed, and the following errors are written to the logs:

      [2025-07-01T16:35:28.042263+00:00] general.WARNING: E_WARNING: Undefined property: stdClass::$type {"code":2,"message":"Undefined property: stdClass::$type","file":"/home/blestau/public_html/5110/components/modules/logicboxes/logicboxes.php","line":1208}
      [2025-07-01T16:35:28.042845+00:00] general.WARNING: E_WARNING: Undefined variable $tabs {"code":2,"message":"Undefined variable $tabs","file":"/home/blestau/public_html/5110/components/modules/logicboxes/logicboxes.php","line":1229}
      
      ==> general-error-2025-07-01.log <==
      [2025-07-01T16:35:28.043464+00:00] general.ERROR: Uncaught Exception TypeError: "array_change_key_case(): Argument #1 ($array) must be of type array, null given" at /home/blestau/public_html/5110/app/controllers/admin_clients.php line 8116 {"exception":"[object] (TypeError(code: 0): array_change_key_case(): Argument #1 ($array) must be of type array, null given at /home/blestau/public_html/5110/app/controllers/admin_clients.php:8116)"}
      

        Activity

        admin Paul Phillips created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Attachment screenshot-1.png [ 13104 ]
        admin Paul Phillips made changes -
        Rank Ranked higher
        admin Paul Phillips made changes -
        Description I'm not sure if this is related to the domain manager, a registrar module, or the core, it requires further investigation. To reproduce do the following:

        1. Use logicboxes for a TLD, like .com, and add a domain.
        2. As an admin, click to Manage the domain and Edit as Service and click on the "Name Servers" tab.
        3. In another window, switch the TLD from Logicboxes to Namesilo.
        4. In our original window, refresh the page on the "Name Servers" tab for the original logicboxes domain.
        5. Note a white screen is displayed, and the following errors are written to the logs:


        {code:java}
        [2025-07-01T16:35:28.042263+00:00] general.WARNING: E_WARNING: Undefined property: stdClass::$type {"code":2,"message":"Undefined property: stdClass::$type","file":"/home/blestau/public_html/5110/components/modules/logicboxes/logicboxes.php","line":1208}
        [2025-07-01T16:35:28.042845+00:00] general.WARNING: E_WARNING: Undefined variable $tabs {"code":2,"message":"Undefined variable $tabs","file":"/home/blestau/public_html/5110/components/modules/logicboxes/logicboxes.php","line":1229}

        ==> general-error-2025-07-01.log <==
        [2025-07-01T16:35:28.043464+00:00] general.ERROR: Uncaught Exception TypeError: "array_change_key_case(): Argument #1 ($array) must be of type array, null given" at /home/blestau/public_html/5110/app/controllers/admin_clients.php line 8116 {"exception":"[object] (TypeError(code: 0): array_change_key_case(): Argument #1 ($array) must be of type array, null given at /home/blestau/public_html/5110/app/controllers/admin_clients.php:8116)"}
        {code}
        I'm not sure if this is related to the domain manager, a registrar module, or the core, it requires further investigation. To reproduce do the following:

        1. Use logicboxes for a TLD, like .com, and add a domain.
        2. As an admin, click to Manage the domain and Edit as Service and click on the "Name Servers" tab.
        3. In another window, switch the TLD from Logicboxes to Namesilo or "Generic Domains".
        4. In our original window, refresh the page on the "Name Servers" tab for the original logicboxes domain.
        5. Note a white screen is displayed, and the following errors are written to the logs:


        {code:java}
        [2025-07-01T16:35:28.042263+00:00] general.WARNING: E_WARNING: Undefined property: stdClass::$type {"code":2,"message":"Undefined property: stdClass::$type","file":"/home/blestau/public_html/5110/components/modules/logicboxes/logicboxes.php","line":1208}
        [2025-07-01T16:35:28.042845+00:00] general.WARNING: E_WARNING: Undefined variable $tabs {"code":2,"message":"Undefined variable $tabs","file":"/home/blestau/public_html/5110/components/modules/logicboxes/logicboxes.php","line":1229}

        ==> general-error-2025-07-01.log <==
        [2025-07-01T16:35:28.043464+00:00] general.ERROR: Uncaught Exception TypeError: "array_change_key_case(): Argument #1 ($array) must be of type array, null given" at /home/blestau/public_html/5110/app/controllers/admin_clients.php line 8116 {"exception":"[object] (TypeError(code: 0): array_change_key_case(): Argument #1 ($array) must be of type array, null given at /home/blestau/public_html/5110/app/controllers/admin_clients.php:8116)"}
        {code}
        abdy Abdy Franco made changes -
        Assignee Abdy Franco [ abdy ]
        abdy Abdy Franco made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.13.0 Sprint 1 [ 216 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked lower
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 3 hours [ 10800 ]
        Worklog Id 17772 [ 17772 ]
        abdy Abdy Franco made changes -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        abdy Abdy Franco made changes -
        Time Spent 3 hours [ 10800 ] 3 hours, 34 minutes [ 12840 ]
        Worklog Id 17781 [ 17781 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Review [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 3 hours, 34 minutes
              3h 34m

                Agile