Null handling issue in asset-pipeline 2.8.0
zzzyy opened this issue · comments
Hello,
I am using grails 2.5.1 with asset-pipeline 2.8.0. Using the latest version gave me multiple issues.So, I switched to 2.8.0 which works fine until the war file is build. There is a null handling issue in file AssetProcessorService.groovy in the method:
String getResolvedAssetPath(final String path, final ConfigObject conf = grailsApplication.config.grails.assets) {
final String relativePath = trimLeadingSlash(path)
if(manifest) {
manifest?.getProperty(relativePath)
} else {
AssetHelper.fileForFullName(relativePath) != null ? relativePath : null
}
}
When manifest is true and relative path is null and gives the following issue:
Error executing tag <g:render>: null
Could you please handle this issue for 2.8.0 asap.
Thanks
This issue should be fixed by PR #384