Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-69981

Alloy Editor will not load unless you refresh the page

    Details

    • Backported to Branch:
      Committed
    • Flagged:
      Impediment
    • Fix Priority:
      3
    • Sprint:
      Collab 3

      Description

      Steps to reproduce:

      1. Navigate to Site > Content > Blogs (or any portlet that uses Alloy Editor)
      2. Click on the plus button to add a blog entry
      3. Assert Alloy Editor loads and user can add a title, subtitle, and content
      4. Without canceling or publishing, navigate to another portlet that uses Alloy Editor (e.g., Web Content)
      5. Add Basic Web Content

      Expected result: Alloy Editor is still enabled
      Actual result: Alloy Editor is disabled unless you refresh the page. Navigating to a different portlet after step 5 will still not load Alloy Editor.
      Console errors are thrown:

      TypeError: a is undefined
      http://localhost:8080/o/frontend-editor-alloyeditor-web/alloyeditor/liferay-alloy-editor-no-ckeditor-min.js?browserId=firefox&minifierType=js&languageId=en_US&b=7003&t=1483556910934
      Line 542
      

      Reproduced on:
      Tomcat 8.0.32 + MySQL 5.6
      Portal master GIT ID: 9f38afe481b1ad07ee4b9e432d1eeefc2cc73fbb

        Attachments

        1. LPS-69981 Blogs.jpg
          LPS-69981 Blogs.jpg
          86 kB
        2. LPS-69981 MB.jpg
          LPS-69981 MB.jpg
          166 kB
        3. LPS-69981 WC.jpg
          LPS-69981 WC.jpg
          237 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 17 weeks, 6 days ago

                  Packages

                  Version Package
                  7.1.X
                  Master