[TASKEMAIL-2] Support multi-value properties in TaskNodeModel Created: 18/Dec/20  Updated: 02/Jun/22  Resolved: 18/Dec/20

Status: Closed
Project: Task Email Notifications
Component/s: None
Affects Version/s: 5.7
Fix Version/s: 5.7.1

Type: Improvement Priority: Neutral
Reporter: Richard Gange Assignee: Richard Gange
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

The current class only provides access to single value properties. Trying to retrieve a multi-value property leads to:

2020-12-18 17:28:45,494 ERROR info.magnolia.task.observation.model.TaskNodeModel: property /tasks/2020/11/18/1608286323031/groupIds is a multi-valued property, so it's values can only be retrieved as an array
javax.jcr.ValueFormatException: property /tasks/2020/11/18/1608286323031/groupIds is a multi-valued property, so it's values can only be retrieved as an array

Generated at Mon Feb 12 11:01:41 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.