Skip to content

Tasks macro is always displaying the tasks from the main wiki #157

@trrenty

Description

@trrenty

Tasks macro displays a task given it's id. It it used when displaying a task-report.

To reproduce:

  1. Create a task on the main wiki.
  2. Copy the task id (we assume its 1)
  3. Go to wiki2
  4. Insert the the tasks macro inside the content of a page and put the copied id as a parameter like so {{tasks ids="1"/}}
  5. Save and view

Expected: An error would be displayed as no task with id = 1 exists on wiki2.
Actual: The task created on the main is displayed

This affects confluence migrations as well. For example, we create and run a migration on wiki2 and have no tasks on the main wiki. As a result, the migrated task-report macros will have their entries full of errors.

image

Alternatively, if the main wiki did contain tasks, the task column of the livetable would contain inaccurate data.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions