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

"Uncaught TypeError" in Custom Filter configured as Immutable in case you are using Guest user

Details

    Description

      Steps to reproduce

      1. Create a site
      2. Create a webcontent called "test"
      3. Create a new widget page
      4. Add "Custom Filter", "Modified Facet", "Search Bar", and "Search Results" widgets to previously created page
      5. Configure "Custom Filter" as Immutable
      6. Logout and open created page with a guest user
      7. After page is loaded, Check browser console:
        • Expected behavior: no error is displayed in console
        • Wrong behavior: following error is written to console
          Uncaught TypeError: Cannot read property 'on' of null
           at new CustomFilter (?browserId=other&minifierType=&languageId=en_US&b=7310&t=1584050128320&/o/portal-search-web/js/se
           at 1:3439
           at 1:3440
           at args.<computed> (combo?browserId=other&minifierType=js&languageId=en_US&b=7310&t=1584050128320&/o/frontend-js-aui-w
           at YUI._notify (combo?browserId=other&minifierType=js&languageId=en_US&b=7310&t=1584050128320&/o/frontend-js-aui-web/a
           at combo?browserId=other&minifierType=js&languageId=en_US&b=7310&t=1584050128320&/o/frontend-js-aui-web/aui/aui/aui.js
           at YUI._notify (combo?browserId=other&minifierType=js&languageId=en_US&b=7310&t=1584050128320&/o/frontend-js-aui-web/a
           at YUI.handleLoader (combo?browserId=other&minifierType=js&languageId=en_US&b=7310&t=1584050128320&/o/frontend-js-aui-
           at Y.Loader._finish (combo?browserId=other&minifierType=js&languageId=en_US&b=7310&t=1584050128320&/o/frontend-js-aui-
      8. Search "test" word => previous created webcontent will be returned
      9. Go to "last modified" facet => Custom Rage
      10. Click on From/To dates:
        • Expected behavior: calendar selector is displayed
        • Wrong behavior: calendar selector is not displayed and error is displayed in console again

      Attachments

        Activity

          People

            brooke.dalton Brooke Dalton
            jorge.diaz Jorge Diaz
            Kiyoshi Lee Kiyoshi Lee
            Olivia Yu Olivia Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              2 years, 37 weeks, 3 days ago

              Packages

                Version Package
                7.2.10 DXP FP5
                7.2.10.2 DXP SP2
                7.2.X
                7.3.1 CE GA2
                7.3.2 CE GA3
                7.3.10 DXP GA1
                Master