Direct usage of Renderer@coldbox in Mail.cfc results in unstarted renderer

Description

Mail.cfc, when used in Coldbox 7 retrieves getInstance( "Renderer@coldbox" )to render views and layouts, however that results in retrieving an instance where the Renderer has not been started.

Two things should probably happen:

1. For legacy code, the binder mapping in LoaderService should probably return the started instance

2. cbmailServices Mail.cfc should inject coldbox:renderer which is the started instance and use that.

Activity

Show:
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Priority

Sentry

Created November 14, 2024 at 3:57 PM
Updated November 14, 2024 at 3:58 PM