dirsynch
  1. dirsynch
  2. DIRSYNCH-24

Error when the file name have special characters like ":"

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Blocker Blocker
    • Resolution: Unresolved
    • Affects Version/s: v1.6
    • Fix Version/s: v1.7
    • Component/s: app
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      24

      Description

      When the file name contains the character ":", the synchronization fails.

      Fri Sep 18 18:51:21 BRT 2009 [INFO] Copying file [OM]:
      /Palestra/Noticias/Desmantelada rede de pedofilia - O POVO Online : Brasil.desktop
      Fri Sep 18 18:51:21 BRT 2009 [ERROR] Error processing file:
      /Palestra/Noticias/Desmantelada rede de pedofilia - O POVO Online :
      Brasil.desktop (+,-)
      Fri Sep 18 18:51:21 BRT 2009 [ERROR]
      java.io.FileNotFoundException:
      /media/KINGSTON/ICCyber/Palestra/Noticias/Desmantelada rede de pedofilia - O
      POVO Online : Brasil.desktop (Invalid argument)
      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
      at com.oktiva.util.FileUtil.copy(FileUtil.java:74)
      at itamar.dirsynch.FilePair.copy(FilePair.java:392)
      at itamar.dirsynch.FilePair.synchronize(FilePair.java:352)
      at
      itamar.dirsynch.Synchronizer$SynchronizerWorker.doInBackground(Synchronizer.java:84)
      at
      itamar.dirsynch.Synchronizer$SynchronizerWorker.doInBackground(Synchronizer.java:62)
      at javax.swing.SwingWorker$1.call(SwingWorker.java:278)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at javax.swing.SwingWorker.run(SwingWorker.java:317)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)

        Activity

        Hide
        itamar added a comment -

        Setting the target milestone to v1.7.

        This is a very annoying bug and affects both Windows and Linux.

        Show
        itamar added a comment - Setting the target milestone to v1.7. This is a very annoying bug and affects both Windows and Linux.
        Hide
        itamar added a comment -

        It's not only the ":" character that causes error.
        I've just found an error on copying files with "\" character in the file name.
        I've saw some other errors that I think are related with other characters like "?" and "&".
        It's needed to discover how to deal with all sort of those special meaning characters in file names.

        Show
        itamar added a comment - It's not only the ":" character that causes error. I've just found an error on copying files with "\" character in the file name. I've saw some other errors that I think are related with other characters like "?" and "&". It's needed to discover how to deal with all sort of those special meaning characters in file names.

          People

          • Assignee:
            itamar
            Reporter:
            itamar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: