Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-15538

Long paths/documents can't be opened from the HTML Export on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 8.4.5, 10.7
    • Old Core - HTML Export
    • Windows 10, IE 11, Chrome 68, Firefox 61
    • Unknown

    Description

      Steps to reproduce:

      1. Log in as Admin
      2. Import the XAR attached on the main wiki
      3. Observe the pages imported
      4. Click on the parent page, in this case Locomotives
      5. Export as HTML
      6. Save it on desktop
      7. Unzip the file with 7zip
      8. Open the index.html
      9. Access each document

      Expected results: The pages from the HTML export are accessible.

      Actual results: It appears that the pages with a long path can't be accessed on Windows
      "Your file was not found
      It may have been moved or deleted.
      ERR_FILE_NOT_FOUND"

      I've used https://character-count.net/ to count the chars and it appears that it brakes at 294
      file:///C:/Users/gabri/Desktop/Locomotives.WebHome%20(15)/pages/xwiki/Locomotives/J+-+%25C3%2589quipements+de+s%25C3%25A9curit%25C3%25A9+et+de+surveillance/%25C3%2589quipement+de+s%25C3%25A9curit%25C3%25A9/Testtttttttttttttttttttttttttttttttttttttttt/New/3Testttttttttttttttttttttt/WebHome.html

      It's working on the page with 293:
      file:///C:/Users/gabri/Desktop/Locomotives.WebHome%20(15)/pages/xwiki/Locomotives/J+-+%25C3%2589quipements+de+s%25C3%25A9curit%25C3%25A9+et+de+surveillance/%25C3%2589quipement+de+s%25C3%25A9curit%25C3%25A9/Testtttttttttttttttttttttttttttttttttttttttt/New/6Testtttttttttttttttttttt/WebHome.html

      NOTE:
      I've also tried to unzip the file with the default Windows Extract all but it gives me an error (see attachment) and I can't extract it.

      Attachments

        1. ExtractAll.jpg
          ExtractAll.jpg
          50 kB
        2. Locomotives.WebHome.xar
          10 kB
        3. NotWorking.jpg
          NotWorking.jpg
          45 kB
        4. Working.jpg
          Working.jpg
          113 kB

        Activity

          People

            Unassigned Unassigned
            ganechitoaei Gabriela Anechitoaei
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: