Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: Grails-UI-Performance 1.2.1
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:grails 1.2-M2
ui-performance 1.2.1
Description
Not entirely sure if this is a bug in ui-performance or not. But i simply can't make p:css generate meaningful hrefs.
<p:css name="main" /> generates:
<link rel='stylesheet' type='text/css' href='/<context>/css/main__vnull.gz.css' />
Steps to reproduce:
1. Create grails application (tested with 1.2-M2)
2. install ui-performance plugin (1.2.1)
3. In grails-app\views\layouts\main.gsp replace
<link rel="stylesheet" href="${resource(dir:'css',file:'main.css')}" />
with
<p:css name="main" />
This behavior is observable whether or not the project is in subversion. Both in dev and prod environment.
I've tried including:
uiperformance.determineVersion = { -> return '1' }
in config.groovy with the same result.
The same issue exists for javascript includes as far as i can tell.
Possibly related issue:
http://jira.codehaus.org/browse/GRAILSPLUGINS-1362