google-code-export / wro4j

Automatically exported from code.google.com/p/wro4j
1 stars 1 forks source link

Loading WebJar assets fails if path contains whitespace #746

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Loading WebJar assets fails with wro4j 1.7.0 if the installation path contains 
whitespace (this is mainly a problem with Windows platform).

It seems that spaces in path are replaced with %20 even when resources are 
loaded from a local file, which results in a FileNotFoundException (stack trace 
attached).

Original issue reported on code.google.com by marint...@gmail.com on 13 Jun 2013 at 6:50

Attachments:

GoogleCodeExporter commented 9 years ago
Forgot to mention that this happens at least with EmberJs.

Original comment by marint...@gmail.com on 13 Jun 2013 at 7:12

GoogleCodeExporter commented 9 years ago
Can you provide an example of how you define the webjar uri?

Original comment by alex.obj...@gmail.com on 13 Jun 2013 at 7:53

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 13 Jun 2013 at 7:53

GoogleCodeExporter commented 9 years ago
This is actually a bug of webjar-locator library. I'll let them know about this 
problem.

Original comment by alex.obj...@gmail.com on 13 Jun 2013 at 7:55

GoogleCodeExporter commented 9 years ago
Issue created in webjar-locator project: 
https://github.com/webjars/webjars-locator/issues/16

When a new release of webjar-locator is available, just update the dependency 
and the problem should be fixed. 

The next release of wro4j will use newer version of webjar-locator.

Original comment by alex.obj...@gmail.com on 13 Jun 2013 at 8:09

GoogleCodeExporter commented 9 years ago
Issue 756 has been merged into this issue.

Original comment by alex.obj...@gmail.com on 18 Jul 2013 at 9:04

GoogleCodeExporter commented 9 years ago
The webjars-locator version has been updated to 0.5.0. Fixed in branch 1.7.x.

Original comment by alex.obj...@gmail.com on 18 Aug 2013 at 10:31