RenderLayout throws exception when called multiple times in single request with explicit view

Description

If you call renderLayout with an explicit view more than once in a request, the second call will throw an exception `can't compare Complex Object Type Struct with a String`

I will attach a test case.

Activity

Show:
Sean Daniels
August 27, 2020, 8:19 PM

I believe the problem is on line 210 of Renderer.cfc:

But the first argument to setExplicitView should be the view name (string) followed by module (string), and args (struct).

Assignee

Luis Majano

Reporter

Sean Daniels

Labels

None

Fix versions

Affects versions

Priority

Major
Configure