On 14 May 2012, at 13:06, panwaskard wrote:
> We've recently upgraded to 2.0.3 and have seen an issue only on production
> where images referenced relatively in css have had there url updated to the
> following:
>
> <base_url>/static/css/assets/resource:/i/spr-dc.png
>
> But this does not work.
>
> 1) How can I disable this so that my image references work on production
>
Hi,
You'll need to exclude CSS from processing if you want that to go away. Something in Grails 2.0.3 is apparently affecting the the image rewriting, though I've not seen this happen myself yet.
> 2) I know the resource plugin is great and that we should be utilising its
> features, but I would not expect to see features such as this show up only
> in production as this means we do not see issues in test. Have we done
> something wrong here? We are only using the resource plugin for ad-hoc
> resources references in the layout. Or is this a bug?
I'm not sure, looks like a bug somewhere. Did you have this working previously with an older build of Grails?
Thanks
Marc
~ ~ ~
Marc Palmer
Freelancer (Grails/Groovy/Java/UX)
I offer commercial support for Grails plugins from as low as $50/mo.
For details see:
http://grailsrocks.comBlog:
http://www.anyware.co.uk | Resumé:
http://www.anyware.co.uk/marcContributor @
http://grails.org | Founder @
http://noticelocal.comDeveloper @
http://weceem.org | Member @
http://spottymushroom.comTwitter:
http://twitter.com/wangjammer5
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email