https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44010
Pedro Amorim (ammopt) <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] | |k --- Comment #21 from Pedro Amorim (ammopt) <[email protected]> --- Hi all, a few non-blocker nits up for follow-ups when convenient, if you agree: #1 No tests for adding items to locked records Two QA follow-ups make Koha still add new items to a locked record during import and batch modification. No test checks this, so it could break without any test failing. #2 Outdated documentation BatchCommitRecords now returns 7 values, but its POD still lists 6. 1) In C4/ImportBatch.pm, compare the POD above 'sub BatchCommitRecords' (6 values) with its 'return' (7 values) #3 Same lock check written three times The "is this record locked for this user?" check is copied in the import code, the batch modification job and the 'Edit' menu. If one copy changes and the others don't, they'll disagree. 1) git grep -n 'source_allows_editing' -- C4 Koha koha-tmpl 2) Note the same check in C4/ImportBatch.pm, Koha/BackgroundJob/BatchUpdateBiblio.pm and cat-toolbar.inc Potential candidate for DRY. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
