Change of file names when documents are saved to data\document_library
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- When saving files to the store, Documents and Media used to use the version label (e.g "1.0") as the file name (prior to Update 72).
- As of Update 72, file names look like this: 1.0~bf25f4c4-de8c-44af-9f8b-a6acb7bd8951
- We would like to understand the background of this change.
Environment
- Liferay DXP 7.4 Update 72
- Quarterly Releases
Resolution
- This change was introduced by LPD-9604 which has the following description: "Make file names unique, adding a new "storeUUID" column to the file version table. Use this UUID value as the file name. This UUID should be created fresh when a file version is created."
- This was implemented as part of LPD-10680, with the aim of making the Documents and Media more backup friendly.
Did this article resolve your issue ?