Bug #491
ActiveFedora::Base#delete does not remove Solr document
| Status: | New | Start: | 09/18/2009 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | - | Spent time: | - | |
| Target version: | - | |||
| Sponsor: |
Description
ActiveFedora::Base#delete escapes the ':' in the pid with a '\' before trying to delete the document in
Solr, as seen in line 101 of active-fedora-1.0.6/lib/base.rb
escaped_pid = self.pid.gsub(/(:)/, '\\:')
Apparently, the extra backslash is not needed, so when Solr tries to
find the document, it cannot. Solr doesn't return an error in this
case, so it's hard to tell if something went wrong.