Bug 7659 - "Import all" for a staged file doesn't check for duplicates
Summary: "Import all" for a staged file doesn't check for duplicates
Status: RESOLVED DUPLICATE of bug 6386
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Adrien SAURAT
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-07 11:16 UTC by Adrien SAURAT
Modified: 2014-02-13 09:44 UTC (History)
1 user (show)

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


Attachments
1 - New basket (16.20 KB, image/png)
2012-03-07 11:21 UTC, Adrien SAURAT
Details
2 - Add order to basket (25.97 KB, image/png)
2012-03-07 11:21 UTC, Adrien SAURAT
Details
3 - Staged file (45.45 KB, image/png)
2012-03-07 11:22 UTC, Adrien SAURAT
Details
4 - Select order (40.16 KB, image/png)
2012-03-07 11:22 UTC, Adrien SAURAT
Details
5 - Duplicate warning (24.41 KB, image/png)
2012-03-07 11:23 UTC, Adrien SAURAT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adrien SAURAT 2012-03-07 11:16:48 UTC
[MT9163]
Problem on the following page:
Home › Acquisitions › *vendor* › Basket X › Add orders from iso2709 file

When adding orders from a staged file, if we add juste one biblio, koha will check if duplicates are present. If a duplicate is found, it will ask if we want to:
- use the existing biblio,
- create a new record,
- cancel the operation.

But if we try to "import all" biblios from the staged file, everything will be processed without any warning, even if duplicates are present.

Test plan :
1) Go to the vendor list, create a basket for one of them.

2) Add Order To Basket : From a staged file

3) Select a file containing notices already in the database (you may have to add them from the file now it that's a new file, import them and change the items state for them to be available).

4) Click on "Add order" for one of the existing biblios. You will see a page giving a duplicate warning.

5) Get back to the staged file page, and now click on the Save button at the bottom of the page. The orders are added without duplicate warnings.
Comment 1 Adrien SAURAT 2012-03-07 11:21:30 UTC
Created attachment 8049 [details]
1 - New basket
Comment 2 Adrien SAURAT 2012-03-07 11:21:52 UTC
Created attachment 8050 [details]
2 - Add order to basket
Comment 3 Adrien SAURAT 2012-03-07 11:22:14 UTC
Created attachment 8051 [details]
3 - Staged file
Comment 4 Adrien SAURAT 2012-03-07 11:22:35 UTC
Created attachment 8052 [details]
4 - Select order
Comment 5 Adrien SAURAT 2012-03-07 11:23:02 UTC
Created attachment 8053 [details]
5 - Duplicate warning
Comment 6 Adrien SAURAT 2012-03-07 11:26:59 UTC
I think the best solution for this staged file import problem would be to add a choice in the "Import All" section (screenshot number 4).

Having a radiobutton or a selectbox like:

 When a duplicate is found:
 o Use the existing biblio
 o Create a new record
 o Cancel the operation


=================
See also bug 7132.
Comment 7 Koha Team University Lyon 3 2014-02-13 09:44:35 UTC

*** This bug has been marked as a duplicate of bug 6386 ***