Legacy Knowledge Base
公開されました Jun. 30, 2025

7.4 U51 へのアップグレード後にポートレット オプションが失われる

Written By

Daniel Mijarra

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • 7.4 Update 51 にアップグレードすると、 エクスポート/インポート、 構成 または 削除 ポートレット オプションが失われます。
  • 上位の 7.4 Update にアップグレードすると、同じ動作が発生します。
  • クラシック テーマが適用されている場合、このエラーは発生しません。

Environment

  • Liferay 7.4 アップデート 51+

解決策

  • カスタム テーマが適用されている場合は、テーマの package.json ファイルで liferay-frontend-theme-styled および liferay-frontend-theme-unstyled バージョンを更新してから、再生成して再展開する必要があります。テーマ。 7.4 で利用可能な最後のバージョンを使用してください。
  • 次の手順を実行できます。
    1. liferay-frontend-theme-styled および liferay-frontend-theme-styled バージョンを利用可能な最新のものに変更し、ファイルを保存します。これは package.jsonの例です。
      {
      "name": "my-theme",
      "version": "1.0.0",
      "main": "package.json",
      "keywords": ["liferay-theme"],
      "liferayTheme": {
      "baseTheme": "styled",
      "fontAwesome": false,
      "templateLanguage": "ftl",
      "version": "7.4",
      "sassOptions": {
      "dartSass": false
      }
      },
      "devDependencies": {
      "compass-mixins": "0.12.10",
      "gulp": "4.0.2",
      "liferay-frontend-css-common": "6.0.4",
      "liferay-frontend-theme-styled": "6.0.54",
      "liferay-frontend-theme-unstyled": "6.0.45",
      "liferay-theme-tasks": "^11.4.0"
      },
      "scripts": {
      "init": "gulp init",
      "build": "gulp build",
      "deploy": "gulp deploy",
      "extend": "gulp extend",
      "kickstart": "gulp kickstart",
      "status": "gulp status",
      "upgrade": "gulp upgrade",
      "watch": "gulp watch"
      },
      "dependencies": {
      "node-sass": "7.0.1"
      }
      }
    2. テーマのモジュールを更新します。
      • テーマ フォルダーで npm install を実行します。
    3. テーマを再生成します。
      • テーマ フォルダーで gulp build を実行します。
    4. 生成された war ファイルを Liferay サーバーに配置します。

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base