Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null handling issue in asset-pipeline 2.8.0 #381

Open
zzzyy opened this issue Dec 29, 2016 · 1 comment
Open

Null handling issue in asset-pipeline 2.8.0 #381

zzzyy opened this issue Dec 29, 2016 · 1 comment

Comments

@zzzyy
Copy link

zzzyy commented Dec 29, 2016

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

@sbearcsiro
Copy link
Contributor

This issue should be fixed by PR #384

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants