legacy-knowledge-base
公開されました Jul. 2, 2025

ゲストユーザーが質問ウィジェットを見ることができない

written-by

Rafael Regner

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • ウィジェットページに質問ウィジェットを設置し、質問を投稿してみました。
  • 質問ウィジェットは、ゲスト表示権限を持っています。
  • ゲストユーザーがこのウィジェットページにアクセスすると、posted questionは表示されず、ポータルは「Error Loading Topics」というエラーを表示します。

Environment

  • Liferay DXP 7.4

解決策

  • ゲストユーザーに質問を閲覧させるためには、 Service Access Policy で設定する必要がある方法があります。
  • 以下の方法で、新しいService Access Policyを追加してください:
    com.liferay.expando.kernel.service.ExpandoValueService#getData
    com.liferay.message.boards.service.MBCategoryService#getCategoriesCount
    com.liferay.message.boards.service.MBCategoryService#getCategory
    com.liferay.message.boards.service.MBMessageService#fetchMBMessageByUrlSubject
    com.liferay.message.boards.service.MBMessageService#getChildMessages
    com.liferay.message.boards.service.MBMessageService#getChildMessagesCount
    com.liferay.message.boards.service.MBMessageService#getMessage
    com.liferay.message.boards.service.MBThreadService#getThreads
    com.liferay.message.boards.service.MBThreadService#getThreadsCount
did-this-article-resolve-your-issue

legacy-knowledge-base