Bug 11635

Summary: 995$r defined twice in record.abs
Product: Koha Reporter: Fridolin Somers <fridolin.somers>
Component: SearchingAssignee: Fridolin Somers <fridolin.somers>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: gmcharlt, mtompset
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Trivial patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 11635 - 995$r defined twice in record.abs
[SIGNED OFF] Bug 11635 - 995$r defined twice in record.abs
[PASSED QA] Bug 11635 - 995$r defined twice in record.abs

Description Fridolin Somers 2014-01-29 16:25:43 UTC
For UNIMARC flavor, in record.abs, 995$r defined twice.
Comment 1 Fridolin Somers 2014-01-29 16:32:05 UTC Comment hidden (obsolete)
Comment 2 Mark Tompsett 2014-01-30 04:35:10 UTC
Eyeballing it, I can see it is duplicated.

Branched based on origin/master
Fully reindexed
OPAC searched for itemtype:dpn and itype:dpn -- 631 results

Applied patch
Fully reindexed
OPAC searched for itemtype:dpn and itype:dpn -- 631 results

cp ~/koha-dev/etc/zebradb/marc_defs/unimarc/biblios/record.abs ~/koha-dev/etc/zebradb/marc_defs/unimarc/biblios/record.abs.bak
cp ./etc/zebradb/marc_defs/unimarc/biblios/record.abs ~/koha-dev/etc/zebradb/marc_defs/unimarc/biblios/record.abs
Fully reindexed
OPAC searched for itemtype:dpn and itype:dpn -- 631 results

git reset --hard origin/master
Fully reindexed
OPAC searched for itemtype:dpn and itype:dpn -- 631 results

my reindexing gave my lots of warnings, but it was about indexing tags not found in attset(s). I figure I can ignore those.

I think my test covers it. I'm signing off.
Comment 3 Mark Tompsett 2014-01-30 04:37:44 UTC Comment hidden (obsolete)
Comment 4 Katrin Fischer 2014-01-31 06:33:02 UTC
Hi Fridolin, please remember to assign the bug to yourself :)
Comment 5 Katrin Fischer 2014-01-31 06:39:08 UTC
Created attachment 24918 [details] [review]
[PASSED QA] Bug 11635 - 995$r defined twice in record.abs

For UNIMARC flavor, in record.abs, 995$r defined twice.

Test plan :
- Create a fresh install UNIMARC flavor and GRS1 indexing for biblios
- Re-indexe database
- Perform a search with index "itemtype" (and then "itype") on an existing value of 995$r. For example : itemtype:BOOK
=> Check you get results

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Removes duplicated index definition.
Comment 6 Galen Charlton 2014-05-05 02:26:23 UTC
Pushed to master.  Thanks, Fridolin!