Checking/unchecking a Task Item in a page causes other Tasks Items to trigger the same behavior

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

     

要約

In a page containing multiple task items, when checking/unchecking one of the task items, some of the other task items replicate the behavior.

環境

Confluence 6.14.3

診断

  1. In a page that contains those Task Items, click on the top right menu: ...
  2. Click on View Storage Format;
  3. You will see, in the storage format, that some of the Task Items contain a duplicated value in the <ac:task-id> tag.

    Page Storage Format
    <ac:task>
    <ac:task-id>1</ac:task-id>
    <ac:task-status>complete</ac:task-status>
    <ac:task-body><span class="placeholder-inline-tasks">Text for task item macro 1</span></ac:task-body>
    </ac:task>
    <ac:task>
    <ac:task-id>2</ac:task-id>
    <ac:task-status>complete</ac:task-status>
    <ac:task-body><span class="placeholder-inline-tasks">Text for task item macro 2</span></ac:task-body>
    </ac:task>
    <ac:task>
    <ac:task-id>2</ac:task-id>
    <ac:task-status>complete</ac:task-status>
    <ac:task-body><span class="placeholder-inline-tasks">Text for task item macro 3</span></ac:task-body>
    </ac:task>

原因

Each Task Item in the Task List macro must have a unique ID. When two or more Task Items have the same task-id value, checking one of them will trigger other tasks with the same id to check as well.

ソリューション

You need to eliminate the duplicated task-ids. There is two ways to accomplish this:

  • Re-create the Task Item:
    1. Copy the Task Item description to another text editor;
    2. Delete the Task Item;
    3. Manually create a new Task Item by clicking on Insert more Content ( + ) > Task List. Do not copy another Task Item from the same page;
    4. Paste the description from the text editor into Confluence.
  • Directly edit the page source code:
    1. Install the Confluence Source Editor app;
    2. Edit the page;
    3. Within the Page Editor, click on the Source Editor: < >;
    4. Manually replace the duplicated task-ids for unique values.
Last modified on Mar 3, 2020

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.