Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TouchKitMapAnt works Only with Firefox #1

Open
gbuompastore opened this issue Feb 13, 2018 · 2 comments
Open

TouchKitMapAnt works Only with Firefox #1

gbuompastore opened this issue Feb 13, 2018 · 2 comments

Comments

@gbuompastore
Copy link

gbuompastore commented Feb 13, 2018

Hi Matti I've notice that the new TouckKit example, works only on firefox.

java.lang.IllegalArgumentException: Illegal character in path at index 10: deferredjs\F7B66AFF78B95938200500C14E19DB8B\1.cache.js
at java.net.URI.create(URI.java:852)
at java.net.URI.resolve(URI.java:1036)
at org.vaadin.touchkit.settings.TouchKitSettings.modifyBootstrapPage(TouchKitSettings.java:266)

Maybe something related with file path?

My Configuration:
S.O Windows 10 64-bit
Eclipse 64bit
Vaadin 8 / Jetty

My Patch

 if (cachedFilesStarted) {
   readLine = readLine.trim();
   if (!readLine.isEmpty()) {
           if(readLine.contains("\\"))
               readLine=readLine.replace("\\", "/");
        URI resolved = base.resolve(readLine);
         resources.add(resolved.toString());
          }
    }
@mstahv
Copy link
Contributor

mstahv commented Feb 13, 2018

The issue has probably been forever, also in the official Vaadin TouchKit, but now with the recent versions it happens to break Chrome altogether (when using Windows as a development machine).

This fix should do it: parttio/touchkit@42f1625 I hope somebody with Windows can verify.

@gbuompastore
Copy link
Author

gbuompastore commented Feb 13, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants