Uploaded image for project: 'Skin editor'
  1. Skin editor
  2. SKIN-87

Preview of an image with special caracters does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 2.14.0
    • None
    • None

      How to reproduce

      • Open skin editor tool
      • Insert an image with special caracter (ex: Test+image+ééçà.png)

      There is no preview for this image

      The error in log is

      Caused by: org.apache.excalibur.source.SourceNotFoundException: file:/D:/work/intranet/master/cms/skins/temp/demo/resources/img/bo/Test image ééçà.png doesn't exist.
      	at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:150)
      	at org.ametys.plugins.skineditor.readers.SkinResourceReader.generate(SkinResourceReader.java:88)
      	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processReader(AbstractCachingProcessingPipeline.java:921)
      	... 66 more
      

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: