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

Overriding a Portal Service by hook stop indexing

    Description

    I tried to ovverride JournalArticleLocalService by hook as indicated in
    https://www.liferay.com/it/documentation/liferay-portal/6.2/development/-/ai/override-a-portal-service-with-hook-liferay-portal-6-2-dev-guide-en

    After deployed the hook, JournalArticle is not indexed.
    My configuration hook is :
    <service>
    <service-type>
    com.liferay.portlet.journal.service.JournalArticleLocalService
    </service-type>
    <service-impl>
    it.test.liferay.portlet.journal.model.TestJournalArticleLocalServiceImpl
    </service-impl>
    </service>

    and I tried with an empty class wrapper:

    public class TestJournalArticleLocalServiceImpl extends JournalArticleLocalServiceWrapper {
    public TestJournalArticleLocalServiceImpl(
    JournalArticleLocalService journalArticleLocalService)

    { super(journalArticleLocalService); }

    }

      Attachments

        Issue Links

          Activity

            People

            Assignee:
            shitian.zhang Shitian "Shelton" Zhang (Inactive)
            Reporter:
            riccardo Riccardo Martini
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              6 years, 31 weeks, 1 day ago

                Packages

                Version Package
                6.2.2 CE GA3
                6.2.X EE
                7.0.0 M1