Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 6.1.0 CE RC1
-
Fix Version/s: --Sprint 12/11, 6.1.0 CE RC1
-
Component/s: Tools, Tools > Plugins SDK > Hook
-
Labels:None
-
Similar Issues:
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)

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.