Skip to content

Task id parameter in task card macro shows "WebHome" for tasks created using the task macro#335

Open
petrenkonikita112263 wants to merge 1 commit intoxwikisas:masterfrom
petrenkonikita112263:issue-99
Open

Task id parameter in task card macro shows "WebHome" for tasks created using the task macro#335
petrenkonikita112263 wants to merge 1 commit intoxwikisas:masterfrom
petrenkonikita112263:issue-99

Conversation

@petrenkonikita112263
Copy link

I'm retrieving from document an object of TaskManager.TaskManagerClass, and if task has such object then setting the label as property value. Otherwise, the name of the task will be used. During additional tests, I notified that this fix perfectly works if such condition is met: created task via macro or quick actions has at least name. But this low probability can be dismissed, I doubt as a user creating empty tasks from macros or commands in the end.

Before PR:

Знімок екрана з 2026-02-26 09-20-03

After PR:

Знімок екрана з 2026-02-26 09-26-44

Executed Tests

None

…d using the task macro xwikisas#99

* Add logic that uses document name from Task object as label or if such object is missing, then to use document name
* add missing empty space
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Task id parameter in task card macro shows "WebHome" for tasks created using the task macro

1 participant