PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-19969

Default Web Content can't be compiled/deployed due compatibility problem with JournalStructureLocalServiceUtil.addStructure and JournalTemplateLocalServiceUtil.addTemplate

    Details

    • Similar Issues:
      Show 5 results 

      Description

      How to recreate:

      • have fresh LR 6.1 instance
      • run all ant task for default-web-content-hook

      Default web content hook uses methods:
      com.liferay.portlet.journal.service.JournalStructureLocalServiceUtil.addStructure(long, long, String, boolean, String, String, String, String, ServiceContext)
      com.liferay.portlet.journal.service.JournalTemplateLocalServiceUtil.addTemplate(long, long, String, boolean, String, String, String, String, boolean, String, boolean, boolean, String, File, ServiceContext)
      New method signatures:
      com.liferay.portlet.journal.service.JournalStructureLocalServiceUtil.addStructure(long, long, String, boolean, String, Map<Locale, String>, Map<Locale, String>, String, ServiceContext)
      com.liferay.portlet.journal.service.JournalTemplateLocalServiceUtil.addTemplate(long, long, String, boolean, String, Map<Locale, String>, Map<Locale, String>, String, boolean, String, boolean, boolean, String, File, ServiceContext)

        Activity

        Hide
        Ryan Wan added a comment -

        Hi Igor,

        Thanks for the report. I have looked the code of HEAD revision of our plugins and portal trunk.
        The code in Default Web Content hook is correctly calling JournalStructureLocalServiceUtil.addStructure() and JournalTemplateLocalServiceUtil.addTemplate().
        I'm resolving this ticket since it's correct.

        Thanks.

        Show
        Ryan Wan added a comment - Hi Igor, Thanks for the report. I have looked the code of HEAD revision of our plugins and portal trunk. The code in Default Web Content hook is correctly calling JournalStructureLocalServiceUtil.addStructure() and JournalTemplateLocalServiceUtil.addTemplate(). I'm resolving this ticket since it's correct. Thanks.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              4 years, 2 weeks, 4 days ago

              Development

                Structure Helper Panel