Dear fellows,

I'm trying unsuccessfully permanently delete items  from our Repository, DSpace 
4.1, JSPUI :
http://repositorio.pucrs.br

We are using the default 4.1 installation, and as I can see in dspace.cfg, we 
are not using SOLR as DAO (no DAO line is uncommented).

When I try remove an item I receive in the screen an "internal server error" 
and a message by email, which contains:

      Exception:
      org.postgresql.util.PSQLException: ERROR: update or delete on table 
"item" violates foreign key constraint "bi_2_dmap_item_id_fkey" on table 
"bi_2_dmap"

Searching on DSpace-tech list archives I found these two tickets:
https://jira.duraspace.org/browse/DS-1920 - Deleting an item fails because of 
old browse tables > Status:VOLUNTEER NEEDED > Resolution: Unresolved
https://jira.duraspace.org/browse/DS-1619 - Unable to remove items after 
enabling SOLRBrowseDAOs > Status:CLOSED > Resolution: Fixed > Fix Version/s: 
4.0, 3.3

- Fix indicated in DS-1920 is
You probably just need to nuke your old browse tables now (provided that you're 
using the Solr Browse DAO).
Or
Follow 
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Browse_Indexes/3.2#WARNING (it 
works for 4.1 too?)

- Fix indicate in DS-1619 is
Remove rows from the table communities2item:
delete from communities2item;
However, I verified that our DSpace4.1 DB does not have any row in this table.

- How can I fix this problem before the DS-1920 resolution?
- May I follow the instructions published on 
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Browse_Indexes/3.2#WARNING  ?

As a temporary workaround I am currently "withdrawing" the items I need to 
remove, but expect to be able to definitively remove these items.

Thanks in advance for any clue,

Michelangelo

Michelangelo Mazzardo Marques Viana | Support and Development
 Coordinator of Libraries Systems. Librarian CRB-10/1306
Pontifical Catholic University of Rio Grande do Sul - PUCRS
Ir.  Jose Otao Central Library | Porto Alegre, RS, Brazil
+55(51) 3353.4371| [email protected] | http://www.pucrs.br/biblioteca
____________________________________________________________________
Find us on Facebook: http://www.facebook.com/bibliotecapucrs 
Follow us on Twitter: https://twitter.com/bibliotecapucrs 
Know our spaces on Flickr: http://www.flickr.com/bibliotecapucrs 


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to