Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-9651

Packaging limitation to 99 char filenames (including path)

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Medium Medium
    • Resolution: Fixed
    • Affects Version/s: 3.10.1, 3.8.6, 3.9.5, 4.0.1
    • Fix Version/s: 4.1.0alpha1
    • Component/s: Documentation, Misc
    • Labels:
      None
    • Environment:

      Operating System: any
      PHP Version: (please be specific, like '4.4.3' or '5.1.5') any
      Database and version: any
      Browser (and version): any

      Description

      When creating packages ezp uses the tar archive handler.
      This is limited to 99 chars.

      Debug:

      [ Nov 29 2006 16:32:03 ] [127.0.0.1] eZTARArchiveHandler:
      Stored file name is too long (max. 99) : 'ezextension/ezxnewsletter/design/standard/templates/contentstructuremenu/show_newsletter_recurring.tpl'
      

      It makes it very hard to distribute designextensions because ezp file hierarchies usually become deep and for better understanding, long template names are choosen.

      Steps to reproduce

      Try packaging the ezxnewsletter extension.

      1. issue_9651_trunk.patch
        4 kB
        Kristof Coomans
      2. patch_ezpackage.php.diff
        2 kB
        Ole Marius Smestad

        Issue Links

          Activity

          Hide
          Ole Marius Smestad added a comment -

          Here is a patch in development. This only covers package extraction for now. The plan is to replace the current tar/gz handler completely.patch_ezpackage.php.diff

          Show
          Ole Marius Smestad added a comment - Here is a patch in development. This only covers package extraction for now. The plan is to replace the current tar/gz handler completely. patch_ezpackage.php.diff
          Hide
          Kristof Coomans added a comment -

          Building further upon oms' patch, here is a patch that also implements writing the archive.issue_9651_trunk.patch

          Show
          Kristof Coomans added a comment - Building further upon oms' patch, here is a patch that also implements writing the archive. issue_9651_trunk.patch
          Hide
          Ole Marius Smestad added a comment -

          The updated patch has been applied to trunk.

          Show
          Ole Marius Smestad added a comment - The updated patch has been applied to trunk.
          Hide
          Ole Marius Smestad added a comment -

          Fixed in
          trunk rev. 22659

          Show
          Ole Marius Smestad added a comment - Fixed in trunk rev. 22659
          Hide
          Geir Arne Waaler added a comment -

          I will look into the documentation requirements.

          Show
          Geir Arne Waaler added a comment - I will look into the documentation requirements.

            People

            • Assignee:
              Ole Marius Smestad
              Reporter:
              Tobias Struckmeier
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: