テンプレート処理中にエラーが発生しました。
Java method "com.liferay.portal.json.JSONFactoryImpl.createJSONObject(String)" threw an exception when invoked on com.liferay.portal.json.JSONFactoryImpl object "com.liferay.portal.json.JSONFactoryImpl@51577ebb"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: navigationJSONObject = jsonFactoryUti...  [in template "17855804202317#32484267#LEARN-ARTICLE-NAV" at line 4, column 9]
----
1<#assign 
2	groupFriendlyURL = themeDisplay.getScopeGroup().getFriendlyURL() 
3	groupPathFriendlyURLPublic = themeDisplay.getPathFriendlyURLPublic() + groupFriendlyURL 
4	navigationJSONObject = jsonFactoryUtil.createJSONObject(navigation.getData()) 
5	navigationMenuItems = 
6
7			"Analytics Cloud": { 
8				"image": "/documents/d${groupFriendlyURL}/analytics_c-svg", 
9				"title": "Analytics Cloud", 
10				"url": "analytics-cloud" 
11			}, 
12			"Commerce": { 
13				"image": "/documents/d${groupFriendlyURL}/commerce_product-svg", 
14				"title": "Commerce", 
15				"url": "commerce" 
16			}, 
17			"DXP": { 
18				"image": "/documents/d${groupFriendlyURL}/dxp_p-svg", 
19				"title": "DXP / Portal", 
20				"url": "dxp" 
21			}, 
22			"Liferay Cloud": { 
23				"image": "/documents/d${groupFriendlyURL}/dxp_c-svg", 
24				"title": "Liferay Cloud", 
25				"url": "liferay-cloud" 
26			}, 
27			"Reference": { 
28				"image": "/documents/d${groupFriendlyURL}/reference-svg", 
29				"title": "Reference", 
30				"url": "reference" 
31
32
33 
34	breadcrumbJSONArray = navigationJSONObject.getJSONArray("breadcrumb") 
35	childrenJSONArray = navigationJSONObject.getJSONArray("children") 
36	parentJSONObject = navigationJSONObject.getJSONObject("parent") 
37	productJSONObject = breadcrumbJSONArray.getJSONObject(breadcrumbJSONArray.length()-1)!navigationJSONObject.getJSONObject("self") 
38	siblingsJSONArray = navigationJSONObject.getJSONArray("siblings") 
39/> 
40 
41<div class="learn-article-nav"> 
42	<#if productJSONObject?has_content && productJSONObject.getString("title")?has_content && navigationMenuItems[productJSONObject.getString("title")]?has_content && navigationMenuItems[productJSONObject.getString("title")].title?has_content> 
43		<div 
44			class="dropdown learn-article-nav-root learn-dropdown" 
45
46			<div class="learn-article-nav-item"> 
47				<div class="d-flex"> 
48					<div class="learn-article-nav-image"> 
49						<img 
50							class="lexicon-icon lexicon-icon-caret-bottom product-icon" 
51							role="presentation" 
52							src='${navigationMenuItems[productJSONObject.getString("title")].image}' 
53							viewBox="0 0 512 512" 
54						/> 
55					</div> 
56 
57					<span class="learn-article-nav-text">${navigationMenuItems[productJSONObject.getString("title")].title}</span> 
58				</div> 
59 
60				<div id="dropdown-icon"> 
61					<svg 
62						class="lexicon-icon lexicon-icon-caret-bottom" 
63						role="presentation" 
64						viewBox="0 0 512 512" 
65
66						<use xlink:href="/o/admin-theme/images/clay/icons.svg#caret-bottom"></use> 
67					</svg> 
68				</div> 
69			</div> 
70 
71			<ul class="dropdown-menu learn-dropdown-menu"> 
72				<#list navigationMenuItems as key, value> 
73					<li> 
74						<a 
75							class="dropdown-item learn-article-nav-item" 
76							href="/w/${navigationMenuItems[key].url}/index" 
77							tabindex="4" 
78
79							<span class="d-flex"> 
80								<span class="learn-article-nav-image"> 
81									<img 
82										class="lexicon-icon lexicon-icon-caret-bottom product-icon mt-0 mr-2" 
83										role="presentation" 
84										src="${value.image}"height: 25px; margin-left: 5px; max-width: none; width: 25px; 
85										viewBox="0 0 512 512" 
86									/> 
87								</span> 
88								<span class="learn-article-nav-text">${value.title}</span> 
89							</span> 
90 
91							<#if navigationMenuItems[productJSONObject.getString("title")].url == value.url> 
92								<span> 
93									<@clay["icon"] symbol="check" /> 
94								</span> 
95							</#if> 
96						</a> 
97					</li> 
98				</#list> 
99			</ul> 
100		</div> 
101	</#if> 
102 
103	<div class="learn-article-nav-content"> 
104		<#if parentJSONObject?has_content && parentJSONObject.getString("url")?has_content> 
105			<div class="learn-article-nav-item learn-article-nav-parent liferay-nav-item p-2"> 
106				<div class="mr-2"> 
107					<a 
108						href='${parentJSONObject.getString("url")}' 
109
110						<svg 
111							class="lexicon-icon lexicon-icon-angle-left" 
112							role="presentation" 
113							viewBox="0 0 512 512" 
114
115							<use xlink:href="/o/admin-theme/images/clay/icons.svg#angle-left"></use> 
116						</svg> 
117					</a> 
118				</div> 
119 
120				<span>${parentJSONObject.getString("title")}</span> 
121			</div> 
122		</#if> 
123 
124		<#if childrenJSONArray.length() gt 0> 
125			<ul class="m-0 p-2"> 
126				<#list 0..childrenJSONArray.length()-1 as i> 
127					<li class="learn-article-nav-item"> 
128						<a 
129							class='liferay-nav-item ${(navigationJSONObject.getJSONObject("self").url == childrenJSONArray.getJSONObject(i).url)?then("selected", "")}' 
130							href="${childrenJSONArray.getJSONObject(i).url}" 
131
132							<span>${childrenJSONArray.getJSONObject(i).getString("title")}</span> 
133						</a> 
134					</li> 
135				</#list> 
136			</ul> 
137		<#elseif siblingsJSONArray.length() gt 0> 
138			<ul class="m-0 p-2"> 
139				<#list 0..siblingsJSONArray.length()-1 as i> 
140					<li class="learn-article-nav-item"> 
141						<a 
142							class='liferay-nav-item ${(navigationJSONObject.getJSONObject("self").url == siblingsJSONArray.getJSONObject(i).url)?then("selected", "")}' 
143							href="${siblingsJSONArray.getJSONObject(i).url}" 
144
145							<span>${siblingsJSONArray.getJSONObject(i).getString("title")}</span> 
146						</a> 
147					</li> 
148				</#list> 
149			</ul> 
150		</#if> 
151	</div> 
152</div> 

7.3でのデフォルト設定の変更

Liferay DXPのほとんどの新しいバージョンには、デフォルト設定の変更が含まれています。 古いバージョンのデフォルトを使用する場合は、変更を確認して、古いバージョンのデフォルトを維持するか、新しいバージョンのデフォルトを受け入れるかを決定する必要があります。

最新の ポータルプロパティリファレンス では、プロパティの説明と例を示しています。 多くのプロパティは、OSGi 設定ファイルで置き換えられ、[システム設定]のUIからアクセスできるようになりました。

7.2から7.3への変更は次のとおりです。

ポータルプロパティ7.2のデフォルト7.3のデフォルト
admin.email.from.addresstest@liferay.comtest@domain.invalid
admin.email.user.added.reset.password.bodyNAcom/liferay/portlet/admin/dependencies/email_user_added_reset_password_body.tmpl
admin.email.password.changed.subjectNAcom/liferay/portlet/admin/dependencies/email_password_changed_subject.tmpl
admin.email.password.changed.bodyNAcom/liferay/portlet/admin/dependencies/email_password_changed_body.tmpl
admin.email.user.added.body7.2のフォローアップリリースで削除削除
admin.email.password.sent.subjectcom/liferay/portlet/admin/dependencies/email_password_sent_subject.tmpl削除
admin.email.password.sent.bodycom/liferay/portlet/admin/dependencies/email_password_sent_body.tmpl削除
admin.obfuscated.propertiesこちら を参照captcha.engine.recaptcha.key.privateを削除
auto.deploy.listenersこちら を参照com.liferay.portal.deploy.auto.ExtAutoDeployListenerを削除
auto.deploy.glassfish.*こちら を参照削除
auto.deploy.jetty.*こちら を参照削除
auto.deploy.jonas.*こちら を参照削除
auto.deploy.resin.*こちら を参照削除
axis.servlet.enabledNAfalse
axis.servlet.mappingNA/api/axis/*
blogs.entry.page.delta.valuesこちら を参照Blogs Service で値を参照。
blogs.image.extensions.gif、.jpeg、.jpg、.png削除
blogs.image.max.size5242880削除
buffered.increment.enabledtrue削除。 7.3 旧バージョンと非互換の変更 を参照。
cache.clear.on.context.initializationtrue削除
com.liferay.portal.deploy.auto.ExtAutoDeployListenerこちら を参照削除
cluster.link.channel.properties.controlこちら を参照jgroups/udp_control.xml
cluster.link.channel.properties.transport.0こちら を参照jgroups/udp_transport.xml
company.security.send.passwordfalse削除
dl.file.entry.preview.fork.process.jvm.optionsNA空白Document Library Service を参照。
editor.wysiwyg.portal-web.docroot.html.portlet.message_boards.edit_message.bb_code.jspalloyeditor_bbcode削除
editor.wysiwyg.portal-web.docroot.html.portlet.message_boards.edit_message.html.jspalloyeditor削除
ehcache.blocking.cache.allowedfalse削除。 7.3 旧バージョンと非互換の変更 を参照。
ehcache.bootstrap.cache.loader.enabledfalse削除。 7.3 旧バージョンと非互換の変更 を参照。
ehcache.bootstrap.cache.loader.properties.default空白削除。 7.3 旧バージョンと非互換の変更 を参照。
image.io.use.disk.cachetruefalse
include-and-overrideこちら を参照portal-companyID.propertiesのオーバーライドを削除
index.on.upgradefalse削除
hibernate.validator.apply_to_ddlNAfalse. Hibernate を参照。
json.deserialization.whitelist.class.namesセクション を参照 を追加。
json.service.serialize.throwableNA新規作成。 JSON を参照。
jsonws.web.service.paths.excludes空白/user/update-password
jsonws.web.service.parameter.type.whitelist.class.namesNA新規作成。 JSON Web Service を参照。
jsp.servlet.init.param.enablePoolingNAfalse
layout.parallel.render.*プロパティこちら を参照削除。 7.3 旧バージョンと非互換の変更 を参照。
パネルレイアウト、埋め込みレイアウト、およびURLレイアウトのレイアウト設定プロパティ を参照。削除
mail.send.blacklistNA新規作成。 Mail を参照。
mail.session.mail.smtp.starttls.enableNAtrue. Mail を参照。
module.framework.configuration.bundle.symbolic.namesNA新規作成。 こちら を参照
module.framework.properties.dependency.manager.sync.timeoutNA60
module.framework.properties.dependency.manager.thread.pool.enabledNAtrue
module.framework.properties.eclipse.stateSaveDelayIntervalNA60000
module.framework.properties.felix.fileinstall.*こちら を参照module.framework.properties.file.install.* に名前変更
module.framework.properties.org.osgi.framework.bootdelegationこちら を参照com.sun.imageio.plugins.* を追加、javax.validation and javax.validation.* を削除
module.framework.properties.osgi.bundlefile.limitNA100000
module.framework.properties.spifly.spi.consumer.header.enabledNAfalse
module.framework.services.ignored.interfacesこちら を参照com.liferay.trash.kernel.service.*を追加
module.framework.web.generator.default.servlet.packagesこちら を参照org.eclipse.jetty.websocket.serverとorg.glassfish.tyrus.servletを削除
module.framework.web.generator.excluded.pathsこちら を参照WEB-INF/lib/jackson-databind.jarおよびWEB-INF/lib/portletmvc4spring-framework.jarを追加、WEB-INF/lib/spring-webmvc-portlet.jarを削除
module.framework.web.servlet.annotation.scanning.blacklistNAModule Framework Web Application Bundles を参照
module.framework.web.servlet.annotation.scanning.whitelistNAcom/liferay/faces/
module.framework.web.start.levelNA15. Module Framework を参照。
permissions.object.blocking.cachefalse削除。 7.3 旧バージョンと非互換の変更 を参照。
portal.resiliency.*こちら を参照削除
retry.data.source.max.retries1000
session.phishing.protected.attributesこちら を参照SETUP_WIZARD_PASSWORD_UPDATEDを追加
session.shared.attributesこちら を参照org.apache.struts.action.LOCALEを削除
setup.database.jar.url[com.mysql.cj.jdbc.Driver]http **https**
spring.configsこちら を参照META-INF/fabric-spring.xmlとMETA-INF/asset-spring.xmlを削除
spring.remoting.servlet.*7.2のフォローアップリリースで削除削除
system.role.Analytics.Administrator.descriptionNAGroups and Roles を参照
upgrade.database.auto.runNAfalse. 7.3 旧バージョンと非互換の変更 を参照。
user.groups.copy.layouts.to.user.personal.sitefalse7.3 旧バージョンと非互換の変更 を削除。
value.object.entity.blocking.cachetrue削除。 7.3 旧バージョンと非互換の変更 を参照。
value.object.entity.cache.enabled.com.liferay.portal.kernel.model.Layouttrue削除。 7.3 旧バージョンと非互換の変更 を参照。
value.object.entity.cache.enabled.com.liferay.portal.kernel.model.Usertrue削除。 7.3 旧バージョンと非互換の変更 を参照。
value.object.finder.cache.enabled.*こちら を参照削除。 7.3 旧バージョンと非互換の変更 を参照。
verify.processesこちら を参照削除
verify.frequencyこちら を参照削除
verify.database.transactions.disabledこちら を参照削除
view.count.enabledNAtrue. 7.3 旧バージョンと非互換の変更 を参照。
work.dir.override.enabledNAfalse. Work Directory を参照。

関連トピック