Webコンテンツを管理できるロールに割り当てられたユーザーが、ページ上で「Webコンテンツが一時的に利用できません」というエラーが発生することがあります。 ログに以下のエラーメッセージが表示された場合は、ユーザーが関連するカスタムフィールドの更新権限を必要としていることを意味します。
00:45:31,439 ERROR [http-bio-8080-exec-1][render_portlet_jsp:132] null
...
com.liferay.portal.security.auth.PrincipalException
(完全なエラーメッセージについては、追加情報のセクションを参照してください)。
決議
- コントロールパネル > 構成 > カスタムフィールドに移動します。
- Webコンテンツ記事の「編集」をクリック
- Actions" ボタンをクリックして、"Permissions" を選択します。
- 関連するロールの「更新」を選択します。
- 保存をクリックします。
追加情報
00:45:31,439 ERROR [http-bio-8080-exec-1][render_portlet_jsp:132] null com.liferay.portal.security.auth.PrincipalException at com.liferay.portlet.expando.service.permission.ExpandoColumnPermissionImpl.check(ExpandoColumnPermissionImpl.java:36) at com.liferay.portlet.expando.service.permission.ExpandoColumnPermissionUtil.check(ExpandoColumnPermissionUtil.java:33) at com.liferay.portlet.expando.service.impl.ExpandoValueServiceImpl.addValue(ExpandoValueServiceImpl.java:51) at com.liferay.portlet.expando.service.impl.ExpandoValueServiceImpl.addValues(ExpandoValueServiceImpl.java:83) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115) at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62) at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175) at com.liferay.portlet.expando.service.ExpandoValueServiceUtil.addValues(ExpandoValueServiceUtil.java:88) at com.liferay.portlet.expando.model.impl.ExpandoBridgeImpl.setAttributes(ExpandoBridgeImpl.java:518) at com.liferay.portlet.expando.model.impl.ExpandoBridgeImpl.setAttributes(ExpandoBridgeImpl.java:500) at com.liferay.portal.model.impl.BaseModelImpl.setExpandoBridgeAttributes(BaseModelImpl.java:81) at com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl.copyArticle(JournalArticleLocalServiceImpl.java:837) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115) at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)