Coldbox DataMarshaller Throws Error with Lucee-Light Engine

Description

When using the `lucee-light` engine, the `DataMarshaller@coldbox` fails to instantiate when `renderData` is called because of the presence of the `cfdocument` tag within the tag-based component.

Suggest changing this to a script-based component and using the script invocation of `cfdocument` so that the function will not be evaluated unless the method to render the PDF is called. At that time, of course, the error about not supporting CFDocument could be thrown.

Note: If the compiler still fails with the above, suggest using an intermediary transient component or template so that an attempt to compile will not be made until it is called.

Activity

Show:
Luis Majano
3 days ago

This is now done and in be. You can test it out now please! I also got to streamline it! Thanks!

Fixed

Assignee

Luis Majano

Reporter

Jon Clausen

Labels

None

Components

Fix versions

Priority

Major