Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-1228

Document Library shortcuts are missing an entry in the AssetEntry database table

Details

    Description

      Document Library shortcuts are missing an entry in the AssetEntry database table. Without an entry in AssetEntry, it is not possible to retrieve shortcuts based on the assets of the DLFileEntry it points to.

      As part of this bug fix, the following methods has been deprecated:

      DLFileShortcutLocalService
      public DLFileShortcut addFileShortcut(
      long userId, long folderId, long toFolderId, String toName, boolean addCommunityPermissions, boolean addGuestPermissions)
      public DLFileShortcut addFileShortcut(
      String uuid, long userId, long folderId, long toFolderId, String toName, boolean addCommunityPermissions, boolean addGuestPermissions)
      public DLFileShortcut addFileShortcut(
      long userId, long folderId, long toFolderId, String toName, String[] communityPermissions, String[] guestPermissions)
      public DLFileShortcut addFileShortcut(
      String uuid, long userId, long folderId, long toFolderId, String toName, Boolean addCommunityPermissions, Boolean addGuestPermissions,
      String[] communityPermissions, String[] guestPermissions)
      public DLFileShortcut updateFileShortcut(
      long userId, long fileShortcutId, long folderId, long toFolderId, String toName)

      DLFileShortcutService
      public DLFileShortcut addFileShortcut(
      long folderId, long toFolderId, String toName, boolean addCommunityPermissions, boolean addGuestPermissions)
      public DLFileShortcut addFileShortcut(
      long folderId, long toFolderId, String toName, String[] communityPermissions, String[] guestPermissions)
      public DLFileShortcut updateFileShortcut(
      long fileShortcutId, long folderId, long toFolderId, String toName)

      Please use the following methods instead:

      DLFileShortcutLocalService
      public DLFileShortcut addFileShortcut(
      long userId, long folderId, long toFolderId, String toName, ServiceContext serviceContext)
      public DLFileShortcut addFileShortcut(
      String uuid, long userId, long folderId, long toFolderId, String toName, ServiceContext serviceContext)
      public DLFileShortcut updateFileShortcut(
      long userId, long fileShortcutId, long folderId, long toFolderId, String toName, ServiceContext serviceContext)

      DLFileShortcutService
      public DLFileShortcut addFileShortcut(
      long folderId, long toFolderId, String toName, ServiceContext serviceContext)
      public DLFileShortcut updateFileShortcut(
      long fileShortcutId, long folderId, long toFolderId, String toName, ServiceContext serviceContext)

      In addition the following method has been added to DLFileShortcutLocalService

      public void updateTagsAsset(
      long userId, DLFileShortcut shortcut, String[] tagsCategories, String[] tagsEntries)

      Attachments

        Issue Links

          Activity

            People

              support-ee EE Support
              samuel.kong Samuel Kong
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  5.2 EE SP2 (5.2.6)