[ http://jira.dspace.org/jira/browse/DS-632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart Lewis updated DS-632: ---------------------------- Attachment: (was: [DS-632]_Batch_Metadata_Import_needs_to_validate_metadata_fields_specified_in_CSVs.patch) > Batch Metadata Import needs to validate metadata fields specified in CSVs > ------------------------------------------------------------------------- > > Key: DS-632 > URL: http://jira.dspace.org/jira/browse/DS-632 > Project: DSpace 1.x > Issue Type: Bug > Components: DSpace API > Affects Versions: 1.6.0, 1.6.1, 1.6.2 > Environment: All > Reporter: Kim Shepherd > Assignee: Stuart Lewis > Fix For: 1.7.0 > > Attachments: > [DS-632]_Batch_Metadata_Import_needs_to_validate_metadata_fields_specified_in_CSVs.patch > > > Batch metadata importer does not properly validate metadata fields specified > in the uploaded CSV. > If a user uploads a CSV with a non-existent metadata field name, changes will > be displayed as though the CSV were valid, then when the user confirms, they > will be told "No changes detected, 0 processed". > However, the items get ingested as completely empty items containing no > metadata, without being deleted from the uploader's workspace. > As a result, the administrator/uploader can not delete the item from the > collection (as there is an fkey reference to workspace_items) and can not > remove the item from the workspace, as there is a reference to > collection2item. Manual SQL queries must be run to completely remove the > object. > Proposed solution: Quick validation against metadata registries before > displaying confirmation of changes, and display an error if a field does not > exist or is invalid in some other way (formatting, rights, etc.) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.dspace.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel