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

Unable to open the skin factory when a the ribbon file has to be regenerated

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0
    • Labels:
      None
    • Sprint:
      4.3 RC1

      Description

      I add a new skin parameter, so the ribbon file is not up-to-date.
      But when trying to open the skin with the skin factory tool, I have the following error:

      Caused by: java.nio.file.FileAlreadyExistsException: D:\Dev\Ametys\templates\web\master\webapp\cms\models\demo\model\cms-ribbon.xml
      	at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:87)
      	at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
      	at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
      	at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:231)
      	at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:478)
      	at java.base/java.nio.file.Files.newOutputStream(Files.java:219)
      	at java.base/java.nio.file.Files.copy(Files.java:3066)
      	at org.ametys.skinfactory.generators.RibbonGenerator.generate(RibbonGenerator.java:119)
      

        Attachments

          Activity

            People

            • Assignee:
              laurence Laurence Aumeunier
              Reporter:
              laurence Laurence Aumeunier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: