Details
-
Story
-
Status: Closed
-
Minor
-
Resolution: Completed
-
None
-
LIMA | #20 | Jun16-Jul07, LIMA | #23 | DEV | Aug18-Sep08, LIMA | #24 | DEV | Sep08-Sep29, LIMA | #26 | DEV | Oct20-Nov10, LIMA | #27 | DEV | Nov10-Dec01
Description
As a user
I want to be able to edit the title and/or file name independently and changes to the title not to affect the file name
so that the visual appearance of the document can be different from the name of the file.
Requirements:
1.- There should be 2 fields, Title and Filename.
2.- Both fields are editable independently being Title mandatory
3.- When autocompleting, Title should not include the extension of the filename
4.- Changing the content of Title must not change the content of Filename
5.- Filename should have the current restrictions applied to "Name"
6.- Filename should include the extension and allow for modifying it.
7.- Download URL should point to the filename and when downloaded, the file is stored with that name.
8.- In the items views (cards, lists, table, asset publisher, etc) the text shown is the one stored in the "Title" field
Quick renaming must be taken into consideration while implementing this.
Design
Figma
Acceptance criteria
Given a site
When a user uploads a file to documents and media
Then she can set the title and file name of the document independently
Given a site
When a user uploads a file to documents and media
Then Liferay will automatically fill the "Title" with the name of the file (excluding extension)
And autocomplete "File name" with the whole filename
Given a site and a document uploaded
When a user modifies the content of the "Title" field
Then the "File name" field is not modified
Given a site and a document uploaded
When a user downloads the document
Then the "File name" field content is applied to the file downloaded
Test Scenarios
ID | Test Priority | Test Scenarios | Covered by Backend (Unit/Integration)? | Test to add |
---|---|---|---|---|
1.1 | 5 | The title name and the file name will be added automatically after uploading a file | No | CPDocumentsandmedia#ViewDocumentInDifferentViews |
1.2 | 5 | The title name will be the same as the file name without extension after uploading a file | No | CPDocumentsandmedia#ViewDocumentInDifferentViews |
1.3 | 5 | The file name will be the same as the uploaded file name after uploading a file | No | CPDocumentsandmedia#ViewDocumentInDifferentViews |
1.4 | 5 | The file name will not be changed after the title name is edited | Yes | Cover in existing test:CPDocumentsandmedia#EditDocument |
1.5 | 5 | The title name will not be changed after the file name is edited | Yes | Cover in existing test:CPDocumentsandmedia#EditDocument |
1.6 | 5 | The content of the file name field will be applied to the downloaded file | No | Manual |
1.7 | 5 | The document entry cannot be published with an empty filename | Yes | Manual |
1.8 | 5 | The document entry cannot be published with a filename without an extension (this behavior will likely be changed) | No | Manual |
1.9 | 5 | The document title can be displayed correctly in the different views in DM | No | CPDocumentsandmedia#ViewDocumentInDifferentViews |
1.10 | 3 | The document title can be displayed correctly in other portlets | No | Manual |
Attachments
Issue Links
- fixes
-
LPS-82972 The title of a fileEntry should not be used when the file is downloaded if an uploaded file is part of the fileEntry
-
- Reviewed
-
- is duplicated by
-
LPS-111912 Document Name Field Has Filename Entered When Uploading a File
- Closed
-
LPS-111919 Document Name Field Doesn't Allow For Certain Characters To Be Entered
- Closed
-
LPS-111967 7.3 GA2 - Semantic Error With Field Label in Documents and Media
- Closed
-
LPS-111968 7.3 GA2 - Semantic Error With Field Label in Documents and Media in Table View
- Closed
- relates
-
LPS-123461 The version of the document can not be increased after editing the file name
- Closed
-
LPS-106906 Semantic Error in Document Title Field Still Persists
- Reviewed
- Testing discovered
-
LPS-124070 Improve UX in single file upload field
- Closed
- mentioned in
-
Page Loading...