Renderer.ViewNotSetException when renderLayout used in request

Description

This is not an issue in CB 5.6.2. In the current 6 RC when I call renderLayout with an explicit layout and view (creating a content variable for a mailparam body), the main event's rendering fails with

I believe this is due to the _explicitView key being left in the prc after the renderLayout completes.

Activity

Show:
Sean Daniels
July 21, 2020, 5:01 PM

I am still seeing this issue in 6.0.0-snapshot as of today.

Luis Majano
July 21, 2020, 5:31 PM

Well, I will need a reproducible case, because our tests pass on all combos

Sean Daniels
July 21, 2020, 6:13 PM
Edited

I have attached a simple test case. Unzip and run box server start and hit the home page. If you comment out line 8 of handlers/Main, the page will load. With that line, the exception is thrown.

Sean Daniels
July 30, 2020, 12:42 PM

Hi Luis, can you confirm you saw my comment with the test case? I don't see a way to reopen this ticket and it’s still marked as resolved.

Luis Majano
July 31, 2020, 9:07 PM

Yes, you are right, the issue arose when you where still trying to render another layout and view combo. Thanks!

Assignee

Luis Majano

Reporter

Sean Daniels

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure