Bug 18929 - Merging records mandate 003 and 040 fields though in framework its not mandatory
Summary: Merging records mandate 003 and 040 fields though in framework its not mandatory
Status: CLOSED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: Lists (show other bugs)
Version: 16.11
Hardware: All Linux
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-11 19:07 UTC by Vinod
Modified: 2018-06-04 20:10 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vinod 2017-07-11 19:07:57 UTC
I am trying to merge two records but system gives alert 003 and 040 fields are missing though i have tried by making it non mandatory (003/040) from default as well as concern records customized framework. 

Koha 16.11.07 on debian 8.
Comment 1 Jonathan Druart 2017-07-12 12:18:18 UTC
Did you make the field mandatory before or after you created the 2 records to merge?
Merging records will not create new 003 or 040 fields if they do not exist on the original records.
Comment 2 Vinod 2017-07-12 13:52:11 UTC
I have imported the above two records in customized marc framework where i did not made 003 and 040 field mandatory even do not have that fields in my customized framework. The test are as follows:

1. I added two same records in a List to merge
2. While merging system asked for framework to choose
3. I selected customized framework i.e. the framework two records originally belongs to but got the above error and could not proceed.
4. I checked the above framework but there were not above fields included.
5. I have removed/unchecked "mandatory" from the 003 and 040 however they were not added in my above marcframework.
6. I did step 3 again but faced same problem.
7. Again i repeat step 3 with default framework but got same error.
8. I removed/unchecked "mandatory" from the 003 and 040 and tried merging again but got the same problem and could not success.
Comment 3 Jonathan Druart 2017-07-17 17:01:33 UTC
It works for me using the "default framework". 003 is first mandatory, but if I remove the mandatory flag I am allowed to merge the 2 records.
Comment 4 Vinod 2017-07-18 11:53:14 UTC
I am still getting the same error (Koha 16.11.07), do not know where i am doing mistake? Please note i have imported the records and there were no 003 and 040 related text/content in the records. I have completely disabled the mandatory from all of my existing Marcframework even though same problem appears repeatedly.
Comment 5 Vinod 2017-07-18 12:31:48 UTC
Now i have added 003 and 040 fields in my customized framework (The records to be merge belongs to same framework) than added some text in 003 and 040 fields of only one record out of two which needs to be merged. Now i can able to merge the records. It means there must be some text in 003 and 040 fields if we wish to merge the two records?
Comment 6 David Cook 2017-07-27 02:09:39 UTC
Not really clear what's going on here. This might actually just be a framework issue for the user and not a Koha problem?
Comment 7 David Cook 2017-07-27 02:10:21 UTC
Since Jonathan wasn't able to reproduce the problem, I'm downgrading this to normal importance from major importance.
Comment 8 Vinod 2017-07-29 11:48:47 UTC
In my case if i activate field 040 in my customized framework without making any sub-field mandatory even though system asks for feeding some data in it as it seems to be mandatory. I think there is some problem associated with 040. So for merging you must have 003/040 field and there must be some text inside that too. In my case it is like above. So i suggest please check field 040 in Koha 16.11.07 because when i activated this field without making mandatory even though it asks to feed data in it before saving.