Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.2 EE SP1 (5.2.5)
-
All
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)