You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I created my own UriLocator that is serving the files from the same server, but different application. For that I'm using a custom protocol like "localserver://fake/path/to/the/resource.css". But unfortunately, this is not recognized as a URL by the CSS processor and it is failing by throwing a WroRuntimeException in
ro.isdc.wro.model.resource.processor.support.ImageUrlRewriter.rewrite(String, String)
This method just knows a set of uri locators instead of trying to delegate to every single registered one. So it fails because mine is part of the hard code list.
This is actually a blocker. Do you have any solution to overcome it?
The text was updated successfully, but these errors were encountered:
Because the existing urlUriLocator requires a whole url, including the server path. In my case, I want to implicitly use the current server, where a war containing the resources is deployed. Ok, now I'm using a transformer which replaces the partial url by a whole one.
But I'm also working on other locator, like a 'dojo' one, where you specify the list of dojo modules in a form like:
dojo:dojo/lang,dojo/base
Hi,
I created my own UriLocator that is serving the files from the same server, but different application. For that I'm using a custom protocol like "localserver://fake/path/to/the/resource.css". But unfortunately, this is not recognized as a URL by the CSS processor and it is failing by throwing a WroRuntimeException in
ro.isdc.wro.model.resource.processor.support.ImageUrlRewriter.rewrite(String, String)
This method just knows a set of uri locators instead of trying to delegate to every single registered one. So it fails because mine is part of the hard code list.
This is actually a blocker. Do you have any solution to overcome it?
The text was updated successfully, but these errors were encountered: