Uploaded image for project: '[Read Only] - Hippo Essentials'
  1. [Read Only] - Hippo Essentials
  2. ESSENTIALS-435

Errors duplicate content is created when Essentials page is kept open during rebuild

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 1.02.01
    • 1.02.04
    • None
    • None

    Description

      As follow up of ESSENTIALS-432, I am seeing attempts to create content twice on restart with 1.02.02-SNAPSHOT created 4 sep 13:17, careful to click only once. This seem to happen only if Essentials is left open and the 'Service Down' dialog is open during the rebuild.

      Not conclusive this is related but tested several times, when closing the essentials page during the rebuilds no errors are shown. With open Essentials page the errors are shown.

      04.09.2014 15:55:57 ERROR http-bio-8080-exec-2 [FileInstruction.copy:149] Error while copy resource
      java.nio.file.FileAlreadyExistsException: /media/WORK/svn/essentials/test/essentials-test/site/src/main/webapp/WEB-INF/freemarker/essentialstest/base-footer.ftl
      at sun.nio.fs.UnixException.translateToIOException(UnixException.java:88)
      at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
      at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
      at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
      at java.nio.file.Files.newByteChannel(Files.java:315)
      at java.nio.file.Files.createFile(Files.java:586)
      at org.onehippo.cms7.essentials.dashboard.instruction.FileInstruction.createParentDirectories(FileInstruction.java:184)
      at org.onehippo.cms7.essentials.dashboard.instruction.FileInstruction.copy(FileInstruction.java:135)
      at org.onehippo.cms7.essentials.dashboard.instruction.FileInstruction.process(FileInstruction.java:101)
      at org.onehippo.cms7.essentials.dashboard.instruction.FreemarkerInstruction.process(FreemarkerInstruction.java:116)
      at org.onehippo.cms7.essentials.dashboard.instruction.executors.PluginInstructionExecutor.execute(PluginInstructionExecutor.java:48)
      at org.onehippo.cms7.essentials.dashboard.packaging.DefaultInstructionPackage.execute(DefaultInstructionPackage.java:203)
      at org.onehippo.cms7.essentials.rest.PluginResource.setupPlugin(PluginResource.java:728)
      at org.onehippo.cms7.essentials.rest.PluginResource.setupIfPossible(PluginResource.java:712)
      at org.onehippo.cms7.essentials.rest.PluginResource.processPlugins(PluginResource.java:579)
      at org.onehippo.cms7.essentials.rest.PluginResource.getAllPlugins(PluginResource.java:818)
      at org.onehippo.cms7.essentials.rest.PluginResource.getPlugins(PluginResource.java:789)
      at org.onehippo.cms7.essentials.rest.PluginResource.ping(PluginResource.java:175)

      Attachments

        Activity

          People

            Unassigned Unassigned
            abanck Arent-Jan Banck (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: