[Koha-bugs] [Bug 8665] DOM indexing fails to index some bib records

2013-02-08 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8665

--- Comment #17 from Jared Camins-Esakov  ---
(In reply to comment #16)
> So i've been running through some customisations and patches that require
> rebuilding these dom config files...
> 
> I'm using the script make_zebra_dom_cfg_from_record_abs as directed on
> http://wiki.koha-community.org/wiki/Switching_to_dom_indexing to create my
> new marc21 biblio-koha-indexdefs.xml config file:
> 
> ~/kohaclone/misc/maintenance/make_zebra_dom_cfg_from_record_abs --input
> ~/kohaclone/etc/zebradb/marc_defs/marc21/biblios/record.abs --output
> ~/kohaclone/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xml
> 
> However each time I run the script the ID line is removed from the resulting
> file and so this bug reasserts itself..
> 
> Am I missing something?

Yes. You should not use the make_zebra_dom_cfg_from_record_abs script. I will
update the wiki page to clarify that the script should not be used.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8665] DOM indexing fails to index some bib records

2013-02-08 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8665

Martin Renvoize  changed:

   What|Removed |Added

 CC||martin.renvoize@ptfs-europe
   ||.com

--- Comment #16 from Martin Renvoize  ---
So i've been running through some customisations and patches that require
rebuilding these dom config files...

I'm using the script make_zebra_dom_cfg_from_record_abs as directed on
http://wiki.koha-community.org/wiki/Switching_to_dom_indexing to create my new
marc21 biblio-koha-indexdefs.xml config file:

~/kohaclone/misc/maintenance/make_zebra_dom_cfg_from_record_abs --input
~/kohaclone/etc/zebradb/marc_defs/marc21/biblios/record.abs --output
~/kohaclone/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xml

However each time I run the script the ID line is removed from the resulting
file and so this bug reasserts itself..

Am I missing something?

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8665] DOM indexing fails to index some bib records

2012-10-30 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8665

Chris Cormack  changed:

   What|Removed |Added

 Status|Pushed to Master|Pushed to Stable

--- Comment #15 from Chris Cormack  ---
Pushed to 3.8.x will be in 3.8.7

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8665] DOM indexing fails to index some bib records

2012-10-29 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8665

Paul Poulain  changed:

   What|Removed |Added

 Status|Passed QA   |Pushed to Master

--- Comment #14 from Paul Poulain  ---
Patch pushed to master

(checked that it work in UNIMARC)

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8665] DOM indexing fails to index some bib records

2012-10-29 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8665

Paul Poulain  changed:

   What|Removed |Added

 Status|Signed Off  |Passed QA
Version|master  |rel_3_8
   Assignee|gmcha...@gmail.com  |jcam...@cpbibliography.com
 QA Contact||paul.poul...@biblibre.com

--- Comment #13 from Paul Poulain  ---
QA comment:
 * small patch, xsl only, but a core one
 * fixes identifier for zebra by switching from 001 to where biblionumber is
stored, because biblionumber is guaranteed to be unique ++
 * fixes other minor mistakes -- to fix in the same patch, but not worth
failing QA, it's a needed fix

passed QA

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8665] DOM indexing fails to index some bib records

2012-10-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8665

Elliott Davis  changed:

   What|Removed |Added

  Attachment #13058|0   |1
is obsolete||

--- Comment #12 from Elliott Davis  ---
Created attachment 13086
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13086&action=edit
[SIGNED-OFF] Bug 8665 follow-up: add missing line to XSLT

The DOM transformer was missing a line from a previous development,
resulting in the MARC21 authorities DOM indexing stylesheet being
regenerated with a missing line. This patch readds the missing line
to the transformer, and provides the corrected authority-zebra-indexdefs.

Signed-off-by: Elliott Davis 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8665] DOM indexing fails to index some bib records

2012-10-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8665

Elliott Davis  changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off
 CC||elli...@bywatersolutions.co
   ||m

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8665] DOM indexing fails to index some bib records

2012-10-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8665

Elliott Davis  changed:

   What|Removed |Added

  Attachment #12877|0   |1
is obsolete||

--- Comment #11 from Elliott Davis  ---
Created attachment 13085
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13085&action=edit
[SIGNED-OFF] Bug 8665: DOM indexing fails to index some bib records

Use a user-specified field for z:id.

This patch also fixes an excess space before the index in the MARC21
biblio index definitions, which someone fixed in the generated file
but not in the source file it should have been fixed in.

Signed-off-by: Chris Cormack 
Signed-off-by: Elliott Davis 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8665] DOM indexing fails to index some bib records

2012-10-25 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8665

--- Comment #10 from Jared Camins-Esakov  ---
(In reply to comment #8)
> QA comment:
> 
>  * are the following lines related to this fix ?:
> -   match="marc:datafield[@tag='450']">
> +  '

A line was missing in the transformer. I fixed that in the follow-up.

> +  
> ...
> +  

These others are no-ops, caused by the fact that I didn't retransform the bib
stylesheets after adding index_heading_conditional.

>  * OK for
> -materials-specified :w
> +materials-specified:w
> 
>  * not sure I understand what does:
> - select="normalize-space(marc:controlfield[@tag='001'])"/>
> + select="normalize-space(marc:controlfield[@tag='001'])"/>
>  
>
> -
> +
> 
> (in authority-zebra-indexdefs) : it does "nothing" except changing the
> variable to be consistent with biblio-zebra-indexdefs, right ?

Exactly. That's the point of the fix.

> (for biblio, the change is in the variable name AND in what it is filled
> with:
> - select="normalize-space(marc:controlfield[@tag='001'])"/>
> + select="normalize-space(marc:datafield[@tag='999']/marc:
> subfield[@code='c'])"/>
> )

Remember that the *-zebra-indexdefs.xsl files are all automatically generated.
Any time the transformer is changed in a way that could cause side effects, all
the *-zebra-indexdefs.xsl files must be regenerated.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8665] DOM indexing fails to index some bib records

2012-10-25 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8665

--- Comment #9 from Jared Camins-Esakov  ---
Created attachment 13058
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13058&action=edit
Bug 8665 follow-up: add missing line to XSLT

The DOM transformer was missing a line from a previous development,
resulting in the MARC21 authorities DOM indexing stylesheet being
regenerated with a missing line. This patch readds the missing line
to the transformer, and provides the corrected authority-zebra-indexdefs.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8665] DOM indexing fails to index some bib records

2012-10-25 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8665

Jared Camins-Esakov  changed:

   What|Removed |Added

 Status|Signed Off  |Needs Signoff

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8665] DOM indexing fails to index some bib records

2012-10-25 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8665

Paul Poulain  changed:

   What|Removed |Added

 CC||paul.poul...@biblibre.com

--- Comment #8 from Paul Poulain  ---
QA comment:

 * are the following lines related to this fix ?:
-  
+  
...
+  
...
+  


 * OK for
-materials-specified :w
+materials-specified:w

 * not sure I understand what does:
-
+
 
   
-
+

(in authority-zebra-indexdefs) : it does "nothing" except changing the variable
to be consistent with biblio-zebra-indexdefs, right ?
(for biblio, the change is in the variable name AND in what it is filled with:
-
+
)

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8665] DOM indexing fails to index some bib records

2012-10-17 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8665

Chris Cormack  changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8665] DOM indexing fails to index some bib records

2012-10-17 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8665

Chris Cormack  changed:

   What|Removed |Added

  Attachment #12734|0   |1
is obsolete||

--- Comment #7 from Chris Cormack  ---
Created attachment 12877
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12877&action=edit
Bug 8665: DOM indexing fails to index some bib records

Use a user-specified field for z:id.

This patch also fixes an excess space before the index in the MARC21
biblio index definitions, which someone fixed in the generated file
but not in the source file it should have been fixed in.

Signed-off-by: Chris Cormack 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8665] DOM indexing fails to index some bib records

2012-10-17 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8665

Chris Cormack  changed:

   What|Removed |Added

 CC||ch...@bigballofwax.co.nz
   Severity|normal  |critical

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8665] DOM indexing fails to index some bib records

2012-10-08 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8665

Jared Camins-Esakov  changed:

   What|Removed |Added

  Attachment #12684|0   |1
is obsolete||

--- Comment #6 from Jared Camins-Esakov  ---
Created attachment 12734
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12734&action=edit
Bug 8665: DOM indexing fails to index some bib records

Use a user-specified field for z:id.

This patch also fixes an excess space before the index in the MARC21
biblio index definitions, which someone fixed in the generated file
but not in the source file it should have been fixed in.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8665] DOM indexing fails to index some bib records

2012-10-08 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8665

Jared Camins-Esakov  changed:

   What|Removed |Added

 Status|NEW |Needs Signoff

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8665] DOM indexing fails to index some bib records

2012-10-08 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8665

Magnus Enger  changed:

   What|Removed |Added

 CC||mag...@enger.priv.no
 Depends on||7818

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8665] DOM indexing fails to index some bib records

2012-10-05 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8665

--- Comment #5 from Colin Campbell  ---
(In reply to comment #3)
> Colin, any chance you could describe what to change controlField001 *to*
> that can workaround this problem?  Pleease?  :)

My kludge was to substitute this:

  

  

Not a thought out solution but assuming anything in the MARC record will be
unique (even if theoretically so) is groundless.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8665] DOM indexing fails to index some bib records

2012-10-04 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8665

--- Comment #4 from Jared Camins-Esakov  ---
Created attachment 12684
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12684&action=edit
Bug 8665: DOM indexing fails to index some bib records

Use a user-specified field for z:id.

Note: this is a proof-of-concept and has not been tested.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8665] DOM indexing fails to index some bib records

2012-10-03 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8665

--- Comment #3 from D Ruth Bavousett  ---
Colin, any chance you could describe what to change controlField001 *to* that
can workaround this problem?  Pleease?  :)

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8665] DOM indexing fails to index some bib records

2012-10-03 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8665

D Ruth Bavousett  changed:

   What|Removed |Added

 CC||r...@bywatersolutions.com

--- Comment #2 from D Ruth Bavousett  ---
It's a nice assumption, Paul, and in a perfect world, it would be so, but the
assumption is a bit rash in the real world. In the GRS model of indexing, only
999$c is *required* to be unique, and (IMO) it should be the same way in DOM.

Until this is fixed, I've got libraries that can't use DOM indexing, period.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8665] DOM indexing fails to index some bib records

2012-10-03 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8665

Paul A  changed:

   What|Removed |Added

 CC||pau...@aandc.org

--- Comment #1 from Paul A  ---
Although not specifically defined, we assume that 001 (Control Number) should
be unique in Koha. Duplicates (for eventual correction) can be found by running
a report:

SELECT GROUP_CONCAT(biblionumber SEPARATOR ', ') AS biblionumbers, 
EXTRACTVALUE(marcxml,'//controlfield[@tag="001"]') AS id FROM biblioitems  
GROUP BY id  HAVING count(id) > 1

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/