forked from xwiki-contrib/application-task
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
Description
Preconditions: Have a priority/ status/ project already created in Administer Wiki > Other > Task Manager. Create some tasks with these data.
Steps to reproduce:
- Click on Drawer > Administer Wiki
- Click on Other > Task Manager
- Delete the priority previously added priority/ status/ project
- Click on Task Manager from Application panel
- In LiveData label check the tasks that were using the deleted values
- 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.
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
