[magnolia-dev] [JIRA] Reopened: (MGNLDMS-244) Fallback to name only, when title is missing
[ http://jira.magnolia-cms.com/browse/MGNLDMS-244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roman Kovařík reopened MGNLDMS-244: --- {noformat} private String getHtmlFileName() { Edit control = new Edit(this.getName() + _ + FileProperties.PROPERTY_FILENAME, doc.getTitle()); ... } {noformat} The title doesn't exist when creating new document - NPE. Fallback to name only, when title is missing Key: MGNLDMS-244 URL: http://jira.magnolia-cms.com/browse/MGNLDMS-244 Project: Magnolia DMS Module Issue Type: Bug Reporter: Zdenek Skodik Assignee: Roman Kovařík Fix For: 1.6.5 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). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Reopened: (MGNLDMS-244) Fallback to name only, when title is missing
[ http://jira.magnolia-cms.com/browse/MGNLDMS-244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Haderka reopened MGNLDMS-244: - 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. Fallback to name only, when title is missing Key: MGNLDMS-244 URL: http://jira.magnolia-cms.com/browse/MGNLDMS-244 Project: Magnolia DMS Module Issue Type: Bug Reporter: Zdenek Skodik Assignee: Roman Kovařík Fix For: 1.6.5 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). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com