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

Result Rankings: Interacting with landing page pagination results in error page

    Details

      Description

      Steps to reproduce:

      1. Navigate to Control Panel > Search Tuning > Result Rankings
      2. Create 6 new result rankings to get the pagination toolbar on the bottom of the page to appear
      3. Make any kind of interaction with the pagination toolbar (changing the items per page dropdown value or clicking on the current page number)

      Actual result: Portlet is temporarily unavailable. error appears on the page and the following error appears in the server logs:

      2019-09-04 23:42:35.088 ERROR [http-nio-8080-exec-1][render_portlet_jsp:131] null
      java.lang.RuntimeException: org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [query], all shards failed; shardFailures {[3lokOrO9S0yCCBlBVKaTbw][liferay-search-tuning-rankings][0]: RemoteTransportException[[3lokOrO][127.0.0.1:9300][indices:data/read/search[phase/query]]]; nested: QueryShardException[No mapping found for [modified-date] in order to sort on]; }{[3lokOrO9S0yCCBlBVKaTbw][liferay-search-tuning-rankings][1]: RemoteTransportException[[3lokOrO][127.0.0.1:9300][indices:data/read/search[phase/query]]]; nested: QueryShardException[No mapping found for [modified-date] in order to sort on]; }{[3lokOrO9S0yCCBlBVKaTbw][liferay-search-tuning-rankings][2]: RemoteTransportException[[3lokOrO][127.0.0.1:9300][indices:data/read/search[phase/query]]]; nested: QueryShardException[No mapping found for [modified-date] in order to sort on]; }{[3lokOrO9S0yCCBlBVKaTbw][liferay-search-tuning-rankings][3]: RemoteTransportException[[3lokOrO][127.0.0.1:9300][indices:data/read/search[phase/query]]]; nested: QueryShardException[No mapping found for [modified-date] in order to sort on]; }{[3lokOrO9S0yCCBlBVKaTbw][liferay-search-tuning-rankings][4]: RemoteTransportException[[3lokOrO][127.0.0.1:9300][indices:data/read/search[phase/query]]]; nested: QueryShardException[No mapping found for [modified-date] in order to sort on]; }
      	at org.elasticsearch.action.search.AbstractSearchAsyncAction.onPhaseFailure(AbstractSearchAsyncAction.java:293)
      	at org.elasticsearch.action.search.AbstractSearchAsyncAction.executeNextPhase(AbstractSearchAsyncAction.java:133)
      	at org.elasticsearch.action.search.AbstractSearchAsyncAction.onPhaseDone(AbstractSearchAsyncAction.java:254)
      	at org.elasticsearch.action.search.InitialSearchPhase.onShardFailure(InitialSearchPhase.java:101)
      	at org.elasticsearch.action.search.InitialSearchPhase.access$100(InitialSearchPhase.java:48)
      	at org.elasticsearch.action.search.InitialSearchPhase$2.lambda$onFailure$1(InitialSearchPhase.java:222)
      	at org.elasticsearch.action.search.InitialSearchPhase.maybeFork(InitialSearchPhase.java:176)
      	at org.elasticsearch.action.search.InitialSearchPhase.access$000(InitialSearchPhase.java:48)
      	at org.elasticsearch.action.search.InitialSearchPhase$2.onFailure(InitialSearchPhase.java:222)
      	at org.elasticsearch.action.search.SearchExecutionStatsCollector.onFailure(SearchExecutionStatsCollector.java:73)
      	at org.elasticsearch.action.ActionListenerResponseHandler.handleException(ActionListenerResponseHandler.java:51)
      	at org.elasticsearch.action.search.SearchTransportService$ConnectionCountingHandler.handleException(SearchTransportService.java:464)
      	at org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler.handleException(TransportService.java:1130)
      	at org.elasticsearch.transport.TransportService$DirectResponseChannel.processException(TransportService.java:1247)
      	at org.elasticsearch.transport.TransportService$DirectResponseChannel.sendResponse(TransportService.java:1221)
      	at org.elasticsearch.transport.TaskTransportChannel.sendResponse(TaskTransportChannel.java:66)
      	at org.elasticsearch.action.support.HandledTransportAction$ChannelActionListener.onFailure(HandledTransportAction.java:112)
      	at org.elasticsearch.search.SearchService$2.onFailure(SearchService.java:347)
      	at org.elasticsearch.search.SearchService$2.onResponse(SearchService.java:341)
      	at org.elasticsearch.search.SearchService$2.onResponse(SearchService.java:335)
      
      

      Reproduced on:
      Portal master-private Git commit: 4ae6a0f125509407f76b067b7c0f9ee9498619ff
      Portal 7.2.x-private Git commit: 69c427e9f945b644394b9d0a0aa14ee129bdb30d

      Not reproducible on:
      Portal 7.2.x-private Git commit: c92a5acd6ddf9d52ef8acc1152a59a0135e15dcd

        Attachments

          Activity

            People

            Assignee:
            joshua.chong Joshua Chong
            Reporter:
            joshua.chong Joshua Chong
            Participants of an Issue:
            Recent user:
            Jason Pince
            Engineering Assignee:
            André Ricardo Barreto de Oliveira
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 6 weeks, 4 days ago

                Packages

                Version Package
                7.2.X
                7.3.10 DXP GA1
                Master