FLUID-6375: Priority records parsed by fluid.parsePriorityRecords will have non-relative priorities corrupted

Metadata

Source
FLUID-6375
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Antranig Basman
Reporter
Antranig Basman
Created
2019-04-15T09:32:30.784-0400
Updated
2024-07-19T08:05:50.846-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. Framework

Description

The utility fluid.parsePriorityRecords will corrupt the priorities of any non-relative priorities (i.e. extremal priorities such as "first", "last" and any fixed or default priorities) since their string keys are sent into fluid.parsePriority as "index" rather than a numeric index. This, for example, will cause ContextAwareness records and adaptations to be misparsed in this way.

Comments