Coldbox Event Cache discards the Content-Type when caching non renderdata results

Description

I am working with an older version of coldbox, but I perceive that the issue still exists in the current version. Event Caching fails to provide a content type if the request is not binary. I made two changes to my local copy of coldbox to resolve this issue. My changes were in Coldbox.cfm but I think that was renamed to Bootstrap.cfm.

The code below is a reference point. Note that the code calls writeOutput but does not set the content type.

Gliffy Diagrams

Activity

Show:

Luis Majano June 27, 2016 at 11:53 PM

Wow. Thank you so much. Very kind. 

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057

On Mon, Jun 27, 2016 at 6:40 PM -0500, "Calvin Dallimore (JIRA)" <jira@ortussolutions.atlassian.net> wrote:

Message Title

Calvin Dallimore commented on

 

Re: Coldbox Event Cache discards the Content-Type when caching.

I created a pull request with what my change might look like for the latest version of coldbox:
https://github.com/ColdBox/coldbox-platform/pull/272

Add Comment

 

This message was sent by Atlassian JIRA (v1000.98.4#100004-sha1:567e5d0)

Calvin Dallimore June 27, 2016 at 11:39 PM

I created a pull request with what my change might look like for the latest version of coldbox:
https://github.com/ColdBox/coldbox-platform/pull/272

Luis Majano June 27, 2016 at 10:22 PM

What did you do to resolve this

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

Details

Assignee

Reporter

Components

Fix versions

Priority

Sentry

Created June 23, 2016 at 10:12 PM
Updated June 28, 2016 at 3:10 PM
Resolved June 28, 2016 at 3:10 PM