テンプレート処理中にエラーが発生しました。
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@2ad66ae2"; 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.4でのデフォルト設定の変更

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

7.4 portal.properties ファイルは、プロパティを記述し、例を提供します。 多くのプロパティは、OSGi 設定ファイルで置き換えられ、[システム設定]のUIからアクセスできるようになりました。

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

ポータルプロパティ7.3のデフォルト7.4のデフォルト
access.control.sanitize.security.exception該当なしtrue
auth.login.prompt.enabledtruefalse
auto.login.hooks設定 を参照設定 を参照
#com.liferay.portal.servlet.filters.sso.cas.CASFiltertrueプロパティを削除
com.liferay.portal.servlet.filters.sso.ntlm.NtlmFiltertrueプロパティを削除
com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFiltertrueプロパティを削除
company.security.update.password.required該当なしtrue
data.limit.dl.storage.max.size該当なし0
data.limit.model.max.count[com.liferay.asset.kernel.model.AssetCategory]該当なし0
data.limit.model.max.count[com.liferay.asset.kernel.model.AssetTag]該当なし0
data.limit.model.max.count[com.liferay.asset.kernel.model.AssetVocabulary]該当なし0
data.limit.model.max.count[com.liferay.blogs.model.BlogEntry]の名前変更変更前:BlogEntry変更後:BlogsEntry(複数形)
dl.email.file.entry.expired.body該当なし設定 を参照
dl.email.file.entry.expired.enabled該当なしtrue
dl.email.file.entry.expired.subject該当なし設定 を参照
dl.email.file.entry.review.body該当なし設定 を参照
dl.email.file.entry.review.enabled該当なしtrue
dl.email.file.entry.review.subject該当なし設定 を参照
dl.file.entry.preview.audio.mime.types設定 を参照audio/vnd.waveを追加
dl.file.entry.preview.fork.process.jvm.options空の値-Xmx1024m
dl.file.entry.preview.video.bit.rate[mp4]2500001200000
dl.file.entry.preview.video.bit.rate[ogv]2500001200000
dl.file.entry.preview.video.mime.types設定 を参照video/theoraを追加
dl.store.antivirus.impl空の値プロパティを削除
#dl.store.gcs.aes256.key該当なし空の値
editor.wysiwyg.portal-web.docroot.html.taglib.ui.discussion.jspalloyeditorプロパティを削除
enterprise.product.commerce.enabled該当なしtrue
enterprise.product.enterprise.search.enabled該当なしtrue
enterprise.product.notification.enabled該当なしtrue
jsonws.web.service.parameter.type.whitelist.class.names設定 を参照設定 を参照
jsp.engine.enablePooling該当なしfalse
learn.resources.cdn.enabled該当なしtrue
learn.resources.enabled該当なしtrue
learn.resources.refresh.time該当なし14400000
#lucene.boolean.query.clause.max.size1024プロパティを削除
minifier.enabledtruefalse
module.framework.properties.org.apache.cxf.osgi.http.transport.disable該当なしtrue
module.framework.properties.org.osgi.framework.bootdelegation設定 を参照com.sun.syndicationを削除
module.framework.web.generator.excluded.paths設定 を参照設定 を参照
multi.value.map.com.liferay.portal.convert.ConvertPermissionAlgorithm.convertResourcePermission該当なし0
multi.value.map.com.liferay.portal.convert.ConvertPermissionAlgorithm.convertResourcePermission0プロパティを削除
multi.value.map.com.liferay.portal.convert.ConvertPermissionAlgorithm.convertRoles該当なし0
multi.value.map.com.liferay.portal.convert.ConvertPermissionAlgorithm.convertRoles0プロパティを削除
openoffice.conversion.source.extensions[text]設定 を参照設定 を参照
portal.jaas.auth.typeuserIdプロパティをコメントアウト
portal.jaas.enablefalseプロパティをコメントアウト
portal.jaas.plain.passwordfalseプロパティをコメントアウト
portal.jaas.strict.passwordfalseプロパティをコメントアウト
redirect.url.domains.allowed プロパティを削除
redirect.url.ips.allowed設定 を参照プロパティを削除
redirect.url.security.modeipプロパティを削除
resource.actions.strict.mode.enabled該当なしtrue
search.container.page.max.delta該当なし200
session.disabledfalseプロパティを削除
session.phishing.protected.attributes設定 を参照設定 を参照
session.timeout.auto.extend.offset1070
system.role.Publications.User.description該当なし設定 を参照
template.engine.freemarker.transaction.read.only該当なしtrue
template.engine.service.locator.restrict該当なしtrue
transactional.cache.names設定 を参照設定 を参照
upgrade.report.enabled該当なしfalse
verify.process.concurrency.threshold5該当なし