FLUID-6778: Error message on omitting subcomponent type is incomplete

Metadata

Source
FLUID-6778
Type
Improvement
Priority
Major
Status
Open
Resolution
N/A
Assignee
Antranig Basman
Reporter
Antranig Basman
Created
2024-03-26T07:07:48.685-0400
Updated
2024-03-26T07:07:49.188-0400
Versions
  1. 4.6
Fixed Versions
N/A
Component
  1. Framework

Description

The error message in fluid.operateCreatePotentia, currently at line 2085

    } else {
        fluid.fail("Unrecognised material in place of subcomponent " + memberName + " - could not recognise the records ",
            potentia.records, " as designating either an injected or concrete component");
    }

refers to “potentia.records” which no longer exists and logs undefined - this should instead refer to lightMerge.toMerge