Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 5.2.3, 6.0.0 Preview
    • Fix Version/s: 6.0.0 Preview
    • Component/s: None
    • Labels:
      None
    • Environment:
      5.2.*
    • Liferay Contributor's Agreement:
      Accept
    • Similar Issues:
      Show 5 results 

      Description

      At revision 30084.

      The web content search portlet doesn't find any web content published with correct approval.

      It always shows: No pages were found that matched the keywords: a.

        Activity

        Hide
        Jonas Yuan added a comment - - Restricted to

        When adding following lines in portal-ext.properperties, it throws errors.

        index.on.startup=true
        lucene.analyzer=org.apache.lucene.analysis.SimpleAnalyzer

        1. errors
          6:01:32,359 ERROR [SearchPermissionCheckerImpl:84] com.liferay.portal.NoSuchGroupException: No Group exists with the primary key 0
          com.liferay.portal.NoSuchGroupException: No Group exists with the primary key 0
          at com.liferay.portal.service.persistence.GroupPersistenceImpl.findByPrimaryKey(GroupPersistenceImpl.java:611)
          at com.liferay.portal.service.impl.GroupLocalServiceImpl.getGroup(GroupLocalServiceImpl.java:434)
        Show
        Jonas Yuan added a comment - - Restricted to When adding following lines in portal-ext.properperties, it throws errors. index.on.startup=true lucene.analyzer=org.apache.lucene.analysis.SimpleAnalyzer errors 6:01:32,359 ERROR [SearchPermissionCheckerImpl:84] com.liferay.portal.NoSuchGroupException: No Group exists with the primary key 0 com.liferay.portal.NoSuchGroupException: No Group exists with the primary key 0 at com.liferay.portal.service.persistence.GroupPersistenceImpl.findByPrimaryKey(GroupPersistenceImpl.java:611) at com.liferay.portal.service.impl.GroupLocalServiceImpl.getGroup(GroupLocalServiceImpl.java:434)
        Hide
        Jonas Yuan added a comment - - Restricted to

        More details:

        at com.liferay.portal.service.GroupLocalServiceUtil.getGroup(GroupLocalServiceUtil.java:84)
        at com.liferay.portal.search.SearchPermissionCheckerImpl.doAddPermissionFields(SearchPermissionCheckerImpl.java:125)
        at com.liferay.portal.search.SearchPermissionCheckerImpl.addPermissionFields(SearchPermissionCheckerImpl.java:77)
        at com.liferay.portal.kernel.search.SearchEngineUtil.updateDocument(SearchEngineUtil.java:168)
        at com.liferay.portlet.imagegallery.util.Indexer.updateImage(Indexer.java:124)
        at com.liferay.portlet.imagegallery.service.impl.IGImageLocalServiceImpl.reIndex(IGImageLocalServiceImpl.java:517)

        at com.liferay.portlet.imagegallery.service.IGFolderLocalServiceUtil.reIndex(IGFolderLocalServiceUtil.java:234)
        at com.liferay.portlet.imagegallery.util.Indexer.reIndex(Indexer.java:165)
        at com.liferay.portal.search.lucene.LuceneIndexer.doReIndex(LuceneIndexer.java:155)
        at com.liferay.portal.search.lucene.LuceneIndexer.reIndex(LuceneIndexer.java:75)
        at com.liferay.portal.search.lucene.LuceneIndexer.run(LuceneIndexer.java:64)

        at com.liferay.portlet.imagegallery.service.impl.IGFolderLocalServiceImpl.reIndexImages(IGFolderLocalServiceImpl.java:491)
        at com.liferay.portlet.imagegallery.service.impl.IGFolderLocalServiceImpl.reIndexFolders(IGFolderLocalServiceImpl.java:479)
        at com.liferay.portlet.imagegallery.service.impl.IGFolderLocalServiceImpl.reIndexFolders(IGFolderLocalServiceImpl.java:457)
        at com.liferay.portlet.imagegallery.service.impl.IGFolderLocalServiceImpl.reIndex(IGFolderLocalServiceImpl.java:278)

        Show
        Jonas Yuan added a comment - - Restricted to More details: at com.liferay.portal.service.GroupLocalServiceUtil.getGroup(GroupLocalServiceUtil.java:84) at com.liferay.portal.search.SearchPermissionCheckerImpl.doAddPermissionFields(SearchPermissionCheckerImpl.java:125) at com.liferay.portal.search.SearchPermissionCheckerImpl.addPermissionFields(SearchPermissionCheckerImpl.java:77) at com.liferay.portal.kernel.search.SearchEngineUtil.updateDocument(SearchEngineUtil.java:168) at com.liferay.portlet.imagegallery.util.Indexer.updateImage(Indexer.java:124) at com.liferay.portlet.imagegallery.service.impl.IGImageLocalServiceImpl.reIndex(IGImageLocalServiceImpl.java:517) at com.liferay.portlet.imagegallery.service.IGFolderLocalServiceUtil.reIndex(IGFolderLocalServiceUtil.java:234) at com.liferay.portlet.imagegallery.util.Indexer.reIndex(Indexer.java:165) at com.liferay.portal.search.lucene.LuceneIndexer.doReIndex(LuceneIndexer.java:155) at com.liferay.portal.search.lucene.LuceneIndexer.reIndex(LuceneIndexer.java:75) at com.liferay.portal.search.lucene.LuceneIndexer.run(LuceneIndexer.java:64) at com.liferay.portlet.imagegallery.service.impl.IGFolderLocalServiceImpl.reIndexImages(IGFolderLocalServiceImpl.java:491) at com.liferay.portlet.imagegallery.service.impl.IGFolderLocalServiceImpl.reIndexFolders(IGFolderLocalServiceImpl.java:479) at com.liferay.portlet.imagegallery.service.impl.IGFolderLocalServiceImpl.reIndexFolders(IGFolderLocalServiceImpl.java:457) at com.liferay.portlet.imagegallery.service.impl.IGFolderLocalServiceImpl.reIndex(IGFolderLocalServiceImpl.java:278)
        Hide
        Olaf Kock (Inactive) added a comment -

        is this related to http://www.liferay.com/web/guest/community/forums/-/message_boards/message/2894860 or did it appear only recently (as a svn revision is explicitly named)?

        Show
        Olaf Kock (Inactive) added a comment - is this related to http://www.liferay.com/web/guest/community/forums/-/message_boards/message/2894860 or did it appear only recently (as a svn revision is explicitly named)?
        Hide
        Jonas Yuan added a comment - - Restricted to

        Hi Olaf, Thanks. It appeared recently.

        Show
        Jonas Yuan added a comment - - Restricted to Hi Olaf, Thanks. It appeared recently.
        Hide
        Jonas Yuan added a comment - - Restricted to

        At revision 30228.

        It is working fine for revision 30228 if removing

        index.on.startup=true
        lucene.analyzer=org.apache.lucene.analysis.SimpleAnalyzer

        from portal-ext.properties.

        Show
        Jonas Yuan added a comment - - Restricted to At revision 30228. It is working fine for revision 30228 if removing index.on.startup=true lucene.analyzer=org.apache.lucene.analysis.SimpleAnalyzer from portal-ext.properties.
        Hide
        Jonas Yuan added a comment -

        got fixed at revision 37167.

        Show
        Jonas Yuan added a comment - got fixed at revision 37167.
        Hide
        Amos Fong added a comment -

        closing, thanks!

        Show
        Amos Fong added a comment - closing, thanks!

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              5 years, 46 weeks, 6 days ago

              Development

                Structure Helper Panel