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

eZDir does not accept the root directory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 4.0.7, 4.1.4, 4.2.0
    • Fix Version/s: 4.1.5, 4.2.1, 4.3.0beta1
    • Component/s: Misc
    • Labels:
      None

      Description

      eZDir::path() does not accept a '/' as a path by default, it will return an empty string in this case. Only if $includeEndSeparator is true will it keep the slash. The patch fixes this by not removing the end separator when it is the only character in the path.

      NB: This issue should not be patched until the following issue is also patched:
      http://issues.ez.no/15823
      #015823: Running cache clearing procedure from upgrade 4.2.0 using root removes all linux system files

        Attachments

        1. ezdir.php-trunk.diff
          0.5 kB
          (inactive) Gunnstein Lye

          Issue Links

            Activity

              People

              Assignee:
              patrick.allaert Patrick Allaert
              Reporter:
              gl (inactive) Gunnstein Lye
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: