bertramdev / grails-asset-pipeline

Grails Asset Pipeline
Apache License 2.0
78 stars 64 forks source link

Revert "Fix missingPropertyException in AssetPipelineFilter." #386

Closed sbearcsiro closed 7 years ago

sbearcsiro commented 7 years ago

Revert c6a52f5 to restore the responseBuilder and fileLastModified variables.

The change in c6a52f5 makes the grails run-war mode throws a groovy.lang.MissingPropertyException: No such property: responseBuilder for class: asset.pipeline.grails.AssetPipelineFilter

sbearcsiro commented 7 years ago

@davydotcom commit c6a52f5 introduced a bug that throws a groovy.lang.MissingPropertyException: No such property: responseBuilder for class: asset.pipeline.grails.AssetPipelineFilter when running a Grails 2 app in war mode. This change simply reverts the commit because it just removed variables that are used through out the if (file.exists()) block.