Do not show error message for expired content. Currently when I create expired Content Store Items. When the expiration happens I get an Error message. There should be no error message.

Description

None

Activity

Show:
George Murphy
March 19, 2018, 8:11 PM
Edited

What I think is happening is some logic is needed to determine if the content has expired then return an empty string. If it does not exist then throw an error. \modules\contentbox\models\content\renderers\WidgetRenderer.cfc
Line 38

Luis Majano
March 20, 2018, 2:32 PM

I see it now. You had a direct widget call. Ok thanks George

Luis Majano
March 20, 2018, 3:08 PM

as a workaround, you can use the second argument to the widget for now.

Just use the *defaultValue* argument for now.

Luis Majano
March 20, 2018, 3:19 PM

This is now fixed and I have added automated tests for it as well. Great catch!

George Murphy
March 20, 2018, 4:18 PM

Luis, thanks so much for the quick response.

Fixed

Assignee

Gavin Pickin

Reporter

George Murphy

Labels

None

Components

Fix versions

Priority

Major
Configure