Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-49745

Root entries' treepath are /0/ when it should simply be /

    Details

    • Story Points:
      12

      Description

      To generate a treePath for folders, we do /folderId/.

      Because we didn't account for the root directory, we end up with /0/.

      Entries take the filePath of the parent so they all end up with /0/.

      Though this doesn't cause any bugs, from a design perspective it's not ideal because it requires post processing to check if a folder is root.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 47 weeks, 5 days ago

                  Packages

                  Version Package
                  7.0.0 M6