Uploaded image for project: 'Skin factory'
  1. Skin factory
  2. SKINFACTORY-118

Issue on rebuild when using a space in skin Title

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.3.0
    • None
    • None

      When using a space in skin title, live rebuild fails.
      We face this error :

      2016-06-07 01:00:45,085 ERROR Failed to rebuild live workspace for site 'iutlorient'
      java.lang.IllegalArgumentException: Illegal character in path at index 42: http://localhost:8081/_invalidate-skin/IUT Lorient
      	at java.net.URI.create(URI.java:859)
      	at org.apache.http.client.methods.HttpPost.<init>(HttpPost.java:76)
      	at org.ametys.web.cache.CacheHelper.callWS(CacheHelper.java:98)
      	at org.ametys.web.cache.CacheHelper.invalidateCache(CacheHelper.java:198)
      	at org.ametys.web.live.RebuildLiveComponent._reindexAndClearCache(RebuildLiveComponent.java:282)
      	at org.ametys.web.live.RebuildLiveComponent.rebuildLiveWorkspace(RebuildLiveComponent.java:168)
      	at org.ametys.web.live.RebuildLiveWorkspaceTimerTask.run(RebuildLiveWorkspaceTimerTask.java:194)
      	at java.util.TimerThread.mainLoop(Timer.java:555)
      	at java.util.TimerThread.run(Timer.java:505)
      Caused by: java.net.URISyntaxException: Illegal character in path at index 42: http://localhost:8081/_invalidate-skin/IUT Lorient
      	at java.net.URI$Parser.fail(URI.java:2829)
      	at java.net.URI$Parser.checkChars(URI.java:3002)
      	at java.net.URI$Parser.parseHierarchical(URI.java:3086)
      	at java.net.URI$Parser.parse(URI.java:3034)
      	at java.net.URI.<init>(URI.java:595)
      	at java.net.URI.create(URI.java:857)
      	... 8 more
      

            laurence Laurence Aumeunier
            dcartier David Cartier-Michaud
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: