Project

General

Profile

Actions

Feature #82522

closed

Allow some formatting for getAdditionalInformation()

Added by Michael Stopp about 7 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
scheduler
Start date:
2017-09-20
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The string returned by getAdditionalInformation() in AbstractTask is obviously run through htmlspecialchars() before being displayed in the BE, which of course makes sense from a security point of view.

But it limits the developer seriously in delivering a satisfying UX. If you have tasks with multiple additional fields, it would be very helpful if the user could be presented with a structured display of this information in the task list.

Given that you can basically return any HTML code with getAdditionalFields() and that it's left in the developer's responsibility to clean his output, it seems strange that the same developer can't be trusted to do the same with getAdditionalInformation(). It would be great, if there was an option to override the default behaviour.

Actions

Also available in: Atom PDF