Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-1619

Unable to remove items after enabling SOLRBrowseDAOs

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0, 3.1, 3.2
    • Fix Version/s: 3.3, 4.0
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      7
    • Documentation Status:
      Needed

      Description

      This issue has been reported the first time in the dspace-tech mailing list:
      http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg22950.html

      Il 31/07/2013 11:28, Gustavo ha scritto:
      > DSpace 3.0 allow customize which browse engine is utilized.
      > I use now SOLR Browse Engine(browseCreateDAO.class = org.dspace.browse.SolrBrowseCreateDAO). This class not add/remove any row in communities2item table. When I add an item no new row are add in the communities2item table.
      > Above I used browseCreateDAO.class = org.dspace.browse.BrowseCreateDAOPostgres when I add an item, a new row are add in the communities2item table each item.
      > When I attempt to erase an item add with the old configuration browseCreateDAO.class = org.dspace.browse.BrowseCreateDAOPostgres since the new configuration browseCreateDAO.class = org.dspace.browse.SolrBrowseCreateDAO no row are deleted from communities2item and an error ocurr
      > Excepción:
      >> org.postgresql.util.PSQLException: ERROR: update o delete en «item»
      >> viola la llave foránea «communities2item_item_id_fkey» en la tabla «communities2item»
      >> Detail: La llave (item_id)=(1984) todavía es referida desde la tabla
      >> «communities2item».

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bollini Andrea Bollini (4Science)
                Reporter:
                bollini Andrea Bollini (4Science)
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: