Feature #82522

Allow some formatting for getAdditionalInformation()

Added by Michael Stopp about 2 years ago. Updated 10 months ago.

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

0%

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.

History

#1 Updated by Michael Stopp 10 months ago

Really? I'm the only one who sees room for improvement here? I think my point is as valid as it was 15 months ago, but if nobody else shares this view, this issue could probably be closed (sigh...).

Also available in: Atom PDF