locomotivecms/engine — Issue #309: consume tag set wrong path on html filters
Author: gabrypulzio
Created: 2012-02-28 16:26:56+00:00
State: open

when consume tag is used sometimes stylesheet_tag and theme_image_tag produce wrong path: subdirectory 'stylesheet' and 'images' are missing so /sites/#sitehash/theme/screen.css is used instead of /sites/#sitehash/theme/stylesheets/screen.css.

It seems it happens only on long waiting responses get in Locomotive::Httparty::Webservice.consume call.

The steps to reproduce this bug:
- fresh locomotive installation
- a simple screen.css file like body { color: red; }
- a page like this gist: https://gist.github.com/1933410

my gems versions:
rails 3.0.10
httparty 0.7.8