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

Hidden License Key field shown on installer during Initial Setup

    Details

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

      Description

      During a new installation, on the "Initial Setup" page, there is a JS error:

      ReferenceError: $ is not defined

      This references the JS code:

      $(document).ready() ...
      

      It appears that jQuery is loaded after this JS, so we probably just need to load jQuery higher up in the page (above that line, or in the head).

      The error causes the "License Key" field to always appear when it should be toggleable based on the selected radio option for a trial license or to enter a key.

        Activity

        tyson Tyson Phillips (Inactive) created issue -
        tyson Tyson Phillips (Inactive) made changes -
        Field Original Value New Value
        Rank Ranked higher
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.5.0 Sprint 6 [ 78 ]
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.5.0 Sprint 6 [ 78 ] 4.5.0 Sprint 5 [ 77 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        tyson Tyson Phillips (Inactive) made changes -
        Description During a new installation, on the "Initial Setup" page, there is a JS error:{code}ReferenceError: $ is not defined{code} During a new installation, on the "Initial Setup" page, there is a JS error:
        {code}ReferenceError: $ is not defined{code}

        This references the JS code:
        {code}
        $(document).ready() ...
        {code}

        It appears that jQuery is loaded after this JS, so we probably just need to load jQuery higher up in the page (above that line, or in the head).

        The error causes the "License Key" field to always appear when it should be toggleable based on the selected radio option for a trial license or to enter a key.
        Automated transition triggered when Tyson Phillips (Inactive) created a branch in Stash -
        Status Open [ 1 ] In Progress [ 3 ]
        Automated transition triggered when Tyson Phillips (Inactive) created pull request #595 in Stash -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        tyson Tyson Phillips (Inactive) made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 9 minutes [ 540 ]
        Worklog Id 11832 [ 11832 ]
        jonathan Jonathan Reissmueller made changes -
        Time Spent 9 minutes [ 540 ] 38 minutes [ 2280 ]
        Worklog Id 11838 [ 11838 ]
        Automated transition triggered when Tyson Phillips (Inactive) merged pull request #595 in Stash -
        Status In Review [ 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:
              31/Jan/19

              Time Tracking

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

                Agile