[MGNLDMS-244] Fallback to name only, when title is missing Created: 29/Oct/12 Updated: 15/Aug/13 Resolved: 08/Dec/12 |
|
| Status: | Closed |
| Project: | Document Management System (closed) |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.6.5 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Zdenek Skodik | Assignee: | Roman Kovařík |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Date of First Response: | |||||||||||||||||
| Description |
|
When uploading a file to DMS, the module automatically assigns the original file name as both the file title and URL (name) in the tree. Both these values are used to create links to documents. If the title is removed on demand of editor afterwards, the document can't be resolved. The document name should be enough to reference it in such case (by the way since we support unicode node names, perhaps there is even no need to keep the title in links at all). |
| Comments |
| Comment by Jan Haderka [ 22/Nov/12 ] |
|
I believe this issue is about that downloading of the file should still work even when title is set to be empty by editors (Because they don't want to see any title but use name for the name of downloaded binary), while your fix is forcing "untitled" as title in such case which would make file to be saved as "untitled". |
| Comment by Roman Kovařík [ 08/Dec/12 ] |
private String getHtmlFileName() {
Edit control = new Edit(this.getName() + "_" + FileProperties.PROPERTY_FILENAME, doc.getTitle());
...
}
The title doesn't exist when creating new document -> NPE. |
| Comment by Roman Kovařík [ 15/Aug/13 ] |
|
git commits: |