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

JSONWS API /journal.journalarticle/searchは重複した記事を返す

Written By

Laura Li

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.

問題

  • 再現の手順
    1. 起動 Liferay 7.3 DXP-1
    2. コンテンツ & データ > ウェブコンテンツ
    3. 新しい記事を追加するには[+]をクリックする
    4. タイトルを: test
    5. fr-FR
    6.の翻訳を修正するには、旗のアイコンをクリックします。 タイトルを次のように設定する:テスト1
    7. save
    8. 同じブラウザウィンドウで、開発者ツール (F12)
    9. コンソールで以下のJavascriptを実行する:
    Liferay.Service(
      '/journal.journalarticle/search',
      {
        "companyId": 20097,
        "groupId": 20121,
        "folderIds": [0],
        "classNameId": 0,
        "keywords": 'test',
        "-version": "",
        "-ddmStructureKey": "",
        "-ddmTemplateKey": "",
        "-displayDateGT": "",
        "-displayDateLT": "",
        "status": 0,
        "-reviewDate": "",
        "start": 0,
        "end": 10,
        "-orderByComparator": ""
      },
      function(obj) {
        console.log(obj);
      }
    );
    Note: 必要であれば、companyId と groupId を更新する。
    期待される結果: 1つのエントリのみが返される。
    実際の結果: 2つのエントリーが返される。

環境

  • Liferay DXP 7.3 dxp-1

解像度

  • この問題は、 LPS-125162、修正パック dxp-4 に含まれています。

Did this article resolve your issue ?

Legacy Knowledge Base