https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41463
--- Comment #5 from Aleisha Amohia <[email protected]> --- (In reply to David Nind from comment #4) > Not sure what the expected result from steps 5 and 6 is - I only get 3 items > in the set. > > Should the record edited in step 4 be included in the result? Yes it should - when I edited the record, it was added to the OAI set automatically. Maybe some other setting is also needed for that to happen for you... > > Testing notes (using KTD): > > 1. When adding the third item in step 5 I get: > insert into oai_sets_biblios (biblionumber, set_id) values (12345678, > 1); > ERROR 1062 (23000): Duplicate entry '12345678-1' for key 'PRIMARY' Oops sorry bad copy paste in my test plan! > > 2. I can add a third item to the set if I make it unique: > insert into oai_sets_biblios (biblionumber, set_id) values (123456789, > 1); > Query OK, 1 row affected (0.003 sec) > > 3. If I select everything from the table, I only get three rows: > select * from oai_sets_biblios; > +--------------+--------+ > | biblionumber | set_id | > +--------------+--------+ > | 12345678 | 1 | > | 123456378 | 1 | > | 123456789 | 1 | > +--------------+--------+ > 3 rows in set (0.000 sec) > > 4. The results from /api/v1/oai_sets/1 for step 6 is: > > { > "catalog_count": 1, > "name": "A", > "set_id": 1, > "spec": "A", > "total_count": 3 > } -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://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/
