[Bug 5354] New: Partial duplication of a subscription
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5354 Summary: Partial duplication of a subscription Change sponsored?: Sponsored Product: Koha Version: rel_3_4 Platform: All URL: http://wiki.koha-community.org/wiki/Partial_duplicatin g_serials_RFC OS/Version: All Status: NEW Severity: enhancement Priority: P5 Component: Serials AssignedTo: henridamien@koha-fr.org ReportedBy: paul.poulain@biblibre.com QAContact: koha-bugs@lists.koha-community.org Estimated Hours: 0.0 Deadline: 2011-05-01 A syspref will be added that contains the list of fields to duplicate when duplicating a subscription. The library will be able to define that, for example, the internal note should not be duplicated -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5354 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |jonathan.druart@biblibre.co | |m Assignee|henridamien@koha-fr.org |jonathan.druart@biblibre.co | |m -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5354 --- Comment #1 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 8077 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8077&action=edit Bug 5354: Partial duplication of a subscription A new syspref (SubscriptionDuplicateDroppedInput) contains the list of fields to duplicate when duplicating a subscription. The library will be able to define that, for example, the internal note should not be duplicated Test plan: On the detail subscription page, click Edit > Edit as New (Duplicate): All the information must be copied from the original subscription. Fill the syspref SubscriptionDuplicateDroppedInput with a list of fields you don't want to be duplicated (e.g. location;notes;branchcode). Repeat the duplicate action. Normally, information for these fields are not copied. -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5354 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5354 Kristina <khspaces-subscriptions@yahoo.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Patch doesn't apply CC| |khspaces-subscriptions@yaho | |o.de --- Comment #2 from Kristina <khspaces-subscriptions@yahoo.de> --- I tested this patch on the BibLibre sandbox http://pro.test8.biblibre.com/cgi-bin/koha/sandbox.pl and received the following conflict message: <h1>Something went wrong !</h1>Applying: Bug 5354: Partial duplication of a subscription<br/> Using index info to reconstruct a base tree...<br/> Falling back to patching base and 3-way merge...<br/> Auto-merging installer/data/mysql/updatedatabase.pl<br/> CONFLICT (content): Merge conflict in installer/data/mysql/updatedatabase.pl<br/> Auto-merging koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/serials.pref<br/> Failed to merge in the changes.<br/> Patch failed at 0001 Bug 5354: Partial duplication of a subscription<br/> When you have resolved this problem run git am --resolved.<br/> If you would prefer to skip this patch, instead run git am --skip.<br/> To restore the original branch and stop patching run git am --abort.<br/> Bug 5354 - Partial duplication of a subscription<br/> -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5354 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #8077|0 |1 is obsolete| | --- Comment #3 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 8255 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8255&action=edit Bug 5354: Partial duplication of a subscription Rebased patch -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5354 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Needs Signoff -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5354 Laurence Lefaucheur <laurence.lefaucheur@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA CC| |laurence.lefaucheur@biblibr | |e.com --- Comment #4 from Laurence Lefaucheur <laurence.lefaucheur@biblibre.com> --- tested on biblibre sandbox OK for fields : branchcode notes location callnumber internalnotes periodicity numberpattern numberingmethod Failed for firstacquidate;startdate;numberlength Except if it is the expected comportment. -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5354 --- Comment #5 from Jonathan Druart <jonathan.druart@biblibre.com> --- It's based on the 'id' in the html code. firstacquidate is acqui_date startdate is beginning_date and numberlength is subtype Perhaps I can change this id node but I don't known if to change this id does not break something -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5354 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5354 --- Comment #6 from Laurence Lefaucheur <laurence.lefaucheur@biblibre.com> --- not ok for subtype -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5354 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #8255|0 |1 is obsolete| | --- Comment #7 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 8360 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8360&action=edit Bug 5354 Partial duplication of a subscription Ho ok, sorry. The select "number of [months|issues|weeks]" have the id subtype but the input have the id numberlength (add in this patch) -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5354 --- Comment #8 from Kristina Hoeppner <kristina@catalyst.net.nz> --- Sorry, Jonathan. I had a merge conflict again. :-( <h1>Something went wrong !</h1>Applying: Bug 5354: Partial duplication of a subscription<br/> Using index info to reconstruct a base tree...<br/> Falling back to patching base and 3-way merge...<br/> Auto-merging installer/data/mysql/updatedatabase.pl<br/> CONFLICT (content): Merge conflict in installer/data/mysql/updatedatabase.pl<br/> Failed to merge in the changes.<br/> Patch failed at 0001 Bug 5354: Partial duplication of a subscription<br/> When you have resolved this problem run git am --resolved.<br/> If you would prefer to skip this patch, instead run git am --skip.<br/> To restore the original branch and stop patching run git am --abort.<br/> Bug 5354 - Partial duplication of a subscription<br/> <br/> -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5354 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #8360|0 |1 is obsolete| | --- Comment #9 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 8386 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8386&action=edit Bug 5354 Partial duplication of a subscription Rebased patch -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5354 Kristina Hoeppner <kristina@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #8386|0 |1 is obsolete| | --- Comment #10 from Kristina Hoeppner <kristina@catalyst.net.nz> --- Created attachment 8461 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8461&action=edit [SIGNED-OFF] Bug 5354 Partial duplication of a subscription Tested the patch with the following fields (taken from the HTML code input field IDs): branchcode notes location callnumber internalnotes periodicity numberpattern numberingmethod acqui_date beginning_date numberlength aqbooksellerid biblionumber graceperiod staffdisplaycount opacdisplaycount ending_date For aqbooksellerid and aqbooksellerid, the old information is still visible in the greyed-out boxes, but it is not displayed when you attempt to save the record. Left out serialsadditems-yes and serialsadditesm-no as you would always have to set this anyway. -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5354 Kristina Hoeppner <kristina@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5354 --- Comment #11 from Kristina Hoeppner <kristina@catalyst.net.nz> --- I meant to write: For aqbooksellerid and biblionumber, the old information is still visible in the greyed-out boxes, but it is not displayed when you attempt to save the record. -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5354 M. de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |m.de.rooy@rijksmuseum.nl QA Contact|koha-bugs@lists.koha-commun |m.de.rooy@rijksmuseum.nl |ity.org | -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5354 M. de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA --- Comment #12 from M. de Rooy <m.de.rooy@rijksmuseum.nl> --- QA Comment: Without testing the code itself, looks good. Externally tested by more than one individual. Few comments: Name SubscriptionDuplicateDroppedInput confuses me, but no blocker. The description is clear though. The pref should be added to sysprefs.sql. (I tend to forget that too.) If Paul pushes this one, could you add it, Paul? You separate fields with semicolon. Please note that several new prefs separate with |. I do not mind, but we should go for consistency (at least try ;) No blocker, but a followup? Passed QA. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5354 --- Comment #13 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 8629 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8629&action=edit Bug 5354 Followup Change separator Change separator to | add the syspref in syspref.sql -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5354 --- Comment #14 from Paul Poulain <paul.poulain@biblibre.com> --- Jonathan, for an unknown reason, when applying the follow-up, I get a: Applying: Bug 5354: Followup. Change separator fatal: sha1 information is lacking or useless (installer/data/mysql/updatedatabase.pl). Repository lacks necessary blobs to fall back on 3-way merge. Cannot fall back to three-way merge. Patch failed at 0001 Bug 5354: Followup. Change separator When you have resolved this problem run "git am --resolved". anything unusual when formatting your patch ? could you resubmit the follow-up if you have an idea why this one don't work -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5354 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #8629|0 |1 is obsolete| | --- Comment #15 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 8634 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8634&action=edit Bug 5354 Followup Change separator rebased patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5354 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master --- Comment #16 from Paul Poulain <paul.poulain@biblibre.com> --- There was a small bug introduced by the (tiny) follow-up to change the separator, as requested by marcel in comment 12. I've fixed it when pushing -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5354 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|rel_3_4 |rel_3_8 -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org