-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: Master
-
Fix Version/s: 7.1.10 DXP FP26, 7.1.10.7 SP7, 7.1.X, 7.2.10 DXP FP5, 7.2.10.2 DXP SP2, 7.2.X, 7.3.10 DXP GA1, Master
-
Component/s: Documents & Media
-
Branch Version/s:7.2.x, 7.1.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
Description
When using the Advanced File System Store, documents uploaded to Documents and Media cannot be moved from their original location, as it fails with a UI error.
Steps to Reproduce
1. Add a file in [Liferay_Home]/osgi/configs titled com.liferay.portal.store.file.system.configuration.AdvancedFileSystemStoreConfiguration.config with the following content:
rootDir = "data/document_library_test" userHardLinks = B"false"
2. Add a portal-ext.properties file with the following content:
dl.store.impl=com.liferay.portal.store.file.system.AdvancedFileSystemStore
3. Either start with a clean bundle or clear out all four Application Server caches, then launch the bundle.
4. Navigate to [Site_Administration] > Documents and Media, then to the root directory add both a new folder "Test Folder" and upload an image
[Note: at this point you can check the logs and the file system -- there shouldn't be any errors, and the file system should include the image within the data\document_library_test\[directory ID] ]
5. Attempt to move the uploaded image (via ⠇ > Move) to the Test Folder
Results of Testing
Expected Result: The image would move to the Test Folder
Actual Result: The image is not moved to the Test Folder (remaining in its original location), and a UI error is encountered
Errors/Logs
No errors in the logs, but the UI displays a “Error:Your request failed to complete.” The move operation does not complete.
If using the debugger, the URL can be observed to be something similar to:
X:\liferay-document-library\20116\67612\11\90\11903.afsh\11903_11903_1.0.afsh.afsh
which will return a FileNotFoundException (that does not appear in console/terminal).
Master
Reproduced.
Hash#: b8f416365d8d42cbdf01069da039d1ded32c4930
Branch
Not Reproduced.
Hash#: f7945b1e7941e42f6f7efca30d65cb0e924ea509
Note: I also tested on a Branch hash from a bundle I downloaded about a week ago (54342930235c00a8a33485edfb2683ee5c08d149), and I did not reproduce the unexpected behavior there either.
* Please see Zendesk Support tab for further comments and attachments.
- is caused by
-
LPS-110213 Moving a file between folders causes the file to no longer be able to be downloaded.
- Closed
- relates
-
LPS-109947 Moving an image shortly after upload causes a SystemException on Windows
- Closed