[ 
http://jira.dspace.org/jira/browse/DS-197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claudia Jürgen updated DS-197:
------------------------------

    Attachment: Bundle.java.patch

Unsetting of primary bitstream id while removing a bitstream from a bundle

> Deleting a primary bitstream does not clear the primary_bitstream_id on the 
> bundle table
> ----------------------------------------------------------------------------------------
>
>                 Key: DS-197
>                 URL: http://jira.dspace.org/jira/browse/DS-197
>             Project: DSpace 1.x
>          Issue Type: Bug
>    Affects Versions: 1.5.0, 1.5.1, 1.5.2
>            Reporter: Graham Triggs
>         Attachments: Bundle.java.patch
>
>
> If you delete a bitstream that is marked as a 'primary' bitstream, then the 
> primary_bitstream_id field on the bundle table is not cleared.
> As this is a foreign key relationship, it causes an integrity constraint 
> violation when the cleanup script attempts to remove the bitstream.
> Further, as the cleanup script doesn't isolate each bitstream cleanup, it has 
> the effect of stopping the cleanup script from clearing any deleted 
> bitstreams in that repository.

-- 
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

       

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to