Skip to content

Deleted priority/status/project values are replaced inside the task with random data, but still remain in Live Data #298

@AndreeaTarataB

Description

@AndreeaTarataB

Preconditions: Have a priority/ status/ project already created in Administer Wiki > Other > Task Manager. Create some tasks with these data.

Steps to reproduce:

  1. Click on Drawer > Administer Wiki
  2. Click on Other > Task Manager
  3. Delete the priority previously added priority/ status/ project
  4. Click on Task Manager from Application panel
  5. In LiveData label check the tasks that were using the deleted values
  6. Open a task that had a deleted priority/ status/ project.

Expected result:

  • When a priority/status/project is deleted, tasks that were using that value should be updated consistently (maybe a dialog box to be inserted in Administer Wiki > Other > Task Manager asking with what to be replaced a value when deleted) — either removing the value or setting it to a default/empty one both in the task view and in Live Data. The value should not be replaced silently with another value.
  • If random value is still considered an option then LiveData should be updated. Please note that in the task are other values than in LiveData

Actual result:

When opening a task that used a deleted priority/status/project, the system automatically replaces the deleted value with another (incorrect) value, while the Live Data still keeps the original deleted value, causing inconsistent and incorrect task data.

Image

Envinronment:
OS: Windows 11 Pro
Browser Chrome: 142
XWiki version: XWiki 14.10 & Cloud 16.10.8
App version: Task Manager Application 3.10.0-rc-2

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions