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

No error message displayed in Walkthrough Web Sample

Details

    Description

      Steps to Reproduce:

      1. In SampleWalkthrough.js create another JSON step
        • ex. 
          {
          	content: '<span>Content 6</span><br/><code>Hello6</code>',
          	nodeToHighlight: '#step6',
          	positioning: 'bottom',
          	title: 'Title 6',
          },
           
      1. Deploy frontend-js-components-sample-web to a test page
      2. Navigate to the Walkable tab on the sample portlet
      3. Click on the Hotspot (blue dot) and click through all the steps to the last step with no element

      Expected Result:
      An informative error message regarding no element exists displayed on JS console
      Walkthrough component UX is still present (either hotspot or popover mode)

      Actual Result:
      Generic error is thrown in Chrome's devtool console.

      Reproduced on:
      Tomcat 9.0.56 + MySQL 5.7
      Portal master GIT ID: bfac03e8e77bc65cecc9709ecfe642f071fb3476

      Attachments

        1. error.gif
          error.gif
          1.50 MB
        2. no-hotspot.gif
          no-hotspot.gif
          990 kB
        3. fixed.gif
          fixed.gif
          270 kB

        Issue Links

          Activity

            People

              susan.chen Susan Chen
              susan.chen Susan Chen
              Kiyoshi Lee Kiyoshi Lee
              Matuzalém Teles Matuzalém Teles
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                17 weeks ago

                Packages

                  Version Package
                  7.4.3.29 CE GA29
                  7.4.3.30 CE GA30
                  Master