See the video for clarification (http://screencast.com/t/Rtrx2QZk). When you use the 008 plugin you choose your material type - so if you choose VM for example you then have visual material fields. You then fill in your 008 and save. This all saves fine and shows right in NORMAL view. But if I click the 008 plugin again it says BK again .. even though it was VM that I made changes to. The plugin should remember the material type properly. This happens in master and 3.8.5 Nicole
This happens in 3.12.3 too. Issue very claimed by staff users.
This issue was reported today to me by my library staff. If the procedure of change field 008 values is repeated sometimes, finally it´s possible save the record with correct values. There is any patch o tip to prevent this? We are using 3.12.00
Created attachment 20789 [details] Material type as determined by Leader/06 and Leader/07 008 do not forgets, because it don't know. As stated in http://www.loc.gov/marc/formatintegration.html, "Field 008 does not carry any explicit flag identifying the definition of positions 18-34. Instead, the identification of the type of field 008 is dependent on the content of Leader/06 (Type of record) and,in the case of textual material (i.e., when Leader/06 contains value a), the content of Leader/07 (Bibliographic level)." So to fix this we need a way to pass Leader/06 and /07 to the plugin so it learns and shows proper material type, and that if the leader is correctly filled. Attached is a PDF with all possible combinations on leader/06 /07 and what kind of material type must be set.
*** Bug 11472 has been marked as a duplicate of this bug. ***
(In reply to Bernardo Gonzalez Kriegel from comment #3) > Created attachment 20789 [details] > Material type as determined by Leader/06 and Leader/07 > > 008 do not forgets, because it don't know. > As stated in http://www.loc.gov/marc/formatintegration.html, > "Field 008 does not carry any explicit flag identifying the definition of > positions 18-34. Instead, the identification of the type of field 008 is > dependent on the content of Leader/06 (Type of record) and,in the case of > textual material (i.e., when Leader/06 contains value a), the content of > Leader/07 (Bibliographic level)." > > So to fix this we need a way to pass Leader/06 and /07 to the plugin so it > learns and shows proper material type, and that if the leader is correctly > filled. > > Attached is a PDF with all possible combinations on leader/06 /07 and what > kind of material type must be set. Good work on the PDF! It looks like it's incorrect for 06 "a" 07 "i", but otherwise perfect. Field 008/18-34 Configuration If Leader/06 = a and Leader/07 = a, c, d, or m: Books If Leader/06 = a and Leader/07 = b, i, or s: Continuing Resources If Leader/06 = t: Books If Leader/06 = c, d, i, or j: Music If Leader/06 = e, or f: Maps If Leader/06 = g, k, o, or r: Visual Materials If Leader/06 = m: Computer Files If Leader/06 = p: Mixed Materials http://www.loc.gov/marc/bibliographic/bdleader.html I'm going to look at this one today.
Created attachment 28690 [details] [review] Bug 9093 - 008 forgetting what material type was chosen This patch adds material type checking to the MARC21 008 tag editor, based on value from the leader. That is, the 008 tag editor will choose an initial material type based on the leader 06 (and if necessary the leader 07 position) _TEST PLAN_ 1) Create a new record or open an existing bib record 2) Change position 6 from its current value (probably "a") to "c" or "e" or "g" or "m" or "p". (See the end of this message for a comprehensive list of 06 values to try.) 3) Open the 008 tag editor 4) Note that it still says BKS even though it should say "MU" or "MP" or "VM" or "CF" or "MX". 5) Apply the patch 6) Repeat steps 2 and 3. 7) Note that the 008 tag editor now shows the correct material type based on the leader. 8) For more comprehensive checking, try switching position 6 back to "a" and changing position 7 to "b" instead of "m". 9) Note that it will switch from "BKS" to "CR". 10) Fin Comprehensive mapping: Field 008/18-34 Configuration If Leader/06 = a and Leader/07 = a, c, d, or m: Books If Leader/06 = a and Leader/07 = b, i, or s: Continuing Resources If Leader/06 = t: Books If Leader/06 = c, d, i, or j: Music If Leader/06 = e, or f: Maps If Leader/06 = g, k, o, or r: Visual Materials If Leader/06 = m: Computer Files If Leader/06 = p: Mixed Materials http://www.loc.gov/marc/bibliographic/bdleader.html
Created attachment 28691 [details] [review] Bug 9093 - 008 forgetting what material type was chosen This patch adds material type checking to the MARC21 008 tag editor, based on value from the leader. That is, the 008 tag editor will choose an initial material type based on the leader 06 (and if necessary the leader 07 position) _TEST PLAN_ 1) Create a new record or open an existing bib record 2) Change position 6 from its current value (probably "a") to "c" or "e" or "g" or "m" or "p". (See the end of this message for a comprehensive list of 06 values to try.) 3) Open the 008 tag editor 4) Note that it still says BKS even though it should say "MU" or "MP" or "VM" or "CF" or "MX". 5) Apply the patch 6) Repeat steps 2 and 3. 7) Note that the 008 tag editor now shows the correct material type based on the leader. 8) For more comprehensive checking, try switching position 6 back to "a" and changing position 7 to "b" instead of "m". 9) Note that it will switch from "BKS" to "CR". 10) Fin Comprehensive mapping: Field 008/18-34 Configuration If Leader/06 = a and Leader/07 = a, c, d, or m: Books If Leader/06 = a and Leader/07 = b, i, or s: Continuing Resources If Leader/06 = t: Books If Leader/06 = c, d, i, or j: Music If Leader/06 = e, or f: Maps If Leader/06 = g, k, o, or r: Visual Materials If Leader/06 = m: Computer Files If Leader/06 = p: Mixed Materials http://www.loc.gov/marc/bibliographic/bdleader.html
Created attachment 28696 [details] [review] [SIGNED-OFF] Bug 9093 - 008 forgetting what material type was chosen This patch adds material type checking to the MARC21 008 tag editor, based on value from the leader. That is, the 008 tag editor will choose an initial material type based on the leader 06 (and if necessary the leader 07 position) _TEST PLAN_ 1) Create a new record or open an existing bib record 2) Change position 6 from its current value (probably "a") to "c" or "e" or "g" or "m" or "p". (See the end of this message for a comprehensive list of 06 values to try.) 3) Open the 008 tag editor 4) Note that it still says BKS even though it should say "MU" or "MP" or "VM" or "CF" or "MX". 5) Apply the patch 6) Repeat steps 2 and 3. 7) Note that the 008 tag editor now shows the correct material type based on the leader. 8) For more comprehensive checking, try switching position 6 back to "a" and changing position 7 to "b" instead of "m". 9) Note that it will switch from "BKS" to "CR". 10) Fin Comprehensive mapping: Field 008/18-34 Configuration If Leader/06 = a and Leader/07 = a, c, d, or m: Books If Leader/06 = a and Leader/07 = b, i, or s: Continuing Resources If Leader/06 = t: Books If Leader/06 = c, d, i, or j: Music If Leader/06 = e, or f: Maps If Leader/06 = g, k, o, or r: Visual Materials If Leader/06 = m: Computer Files If Leader/06 = p: Mixed Materials http://www.loc.gov/marc/bibliographic/bdleader.html Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Work as described, nice job. koha-qa complains for a tab char, removed on followup. Mode change on TT file (+x), removed. No other errors NOTE: It would be desirable to update LEADER values to reflect changes on 008.
Created attachment 28697 [details] [review] Bug 9093 - followup to fix tab Removing tab on line 82
Created attachment 28714 [details] [review] [PASSED QA] Bug 9093 - 008 forgetting what material type was chosen This patch adds material type checking to the MARC21 008 tag editor, based on value from the leader. That is, the 008 tag editor will choose an initial material type based on the leader 06 (and if necessary the leader 07 position) _TEST PLAN_ 1) Create a new record or open an existing bib record 2) Change position 6 from its current value (probably "a") to "c" or "e" or "g" or "m" or "p". (See the end of this message for a comprehensive list of 06 values to try.) 3) Open the 008 tag editor 4) Note that it still says BKS even though it should say "MU" or "MP" or "VM" or "CF" or "MX". 5) Apply the patch 6) Repeat steps 2 and 3. 7) Note that the 008 tag editor now shows the correct material type based on the leader. 8) For more comprehensive checking, try switching position 6 back to "a" and changing position 7 to "b" instead of "m". 9) Note that it will switch from "BKS" to "CR". 10) Fin Comprehensive mapping: Field 008/18-34 Configuration If Leader/06 = a and Leader/07 = a, c, d, or m: Books If Leader/06 = a and Leader/07 = b, i, or s: Continuing Resources If Leader/06 = t: Books If Leader/06 = c, d, i, or j: Music If Leader/06 = e, or f: Maps If Leader/06 = g, k, o, or r: Visual Materials If Leader/06 = m: Computer Files If Leader/06 = p: Mixed Materials http://www.loc.gov/marc/bibliographic/bdleader.html Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Work as described, nice job. koha-qa complains for a tab char, removed on followup. Mode change on TT file (+x), removed. No other errors NOTE: It would be desirable to update LEADER values to reflect changes on 008. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Patch pushed to master. Thanks David!
Pushed to 3.16.x for inclusion in 3.16.1.
(In reply to Kyle M Hall from comment #10) > NOTE: It would be desirable to update LEADER values > to reflect changes on 008. > Unfortunately, I don't think that's possible, since it's a one way mapping. You can arrive at the same material type via multiple different Leader value combinations, so you can't reverse engineer a material type to get the Leader values.