FLUID-6753: Framework error messages which attempt to dump the entire component are unreadable

Metadata

Source
FLUID-6753
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Antranig Basman
Reporter
Antranig Basman
Created
2022-10-17T10:58:47.357-0400
Updated
2024-07-22T10:35:14.622-0400
Versions
  1. 4.4
Fixed Versions
  1. 4.5
Component
  1. Framework

Description

Some old-style framework error messages attempt to dump the entire component to the console using the ", that, " pattern. A candidate is in fluid.instantiateEvents

return ["Error constructing component ", that, " - the listener for event " + error.name + " with namespace " + error.namespace + (

These should be rewritten using the fluid.dumpComponentAndPath utility instead.