Bug 13717 - Add ability to move old patron attributes when importing borrowers
Summary: Add ability to move old patron attributes when importing borrowers
Status: Patch doesn't apply
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Kyle M Hall
QA Contact: Testopia
URL:
Keywords:
Depends on: 12598
Blocks:
  Show dependency treegraph
 
Reported: 2015-02-17 16:56 UTC by Kyle M Hall
Modified: 2017-10-15 10:48 UTC (History)
2 users (show)

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


Attachments
Bug 13717 - Add ability to move old patron attributes when importing new patron data (13.09 KB, patch)
2015-02-17 17:32 UTC, Kyle M Hall
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle M Hall 2015-02-17 16:56:13 UTC
Some libraries would like to move the value of a patron attribute to a different attribute when updating patrons via the import patrons tool.
Comment 1 Kyle M Hall 2015-02-17 17:32:44 UTC
Created attachment 35984 [details] [review]
Bug 13717 - Add ability to move old patron attributes when importing new patron data

Some libraries would like to move the value of a patron attribute to a
different attribute when updating patrons via the import patrons tool.

Test Plan:
1) Enable patron attributes
2) Create 2 attributes TEST and TEST_PREV
3) Create a patron with a TEST attribute
4) Create a patrons CSV file with that patron in it,
   containing a new TEST attribute
5) Go to tool/import patrons
6) Select your CSV file
7) At the bottom of the form is the to/from selector for attributes,
   choose TEST to be 'from', and TEST_PREV to be 'to'
8) Submit the form
9) Observe the patron record, note the previous value for TEST
   has now been moved to an instance of TEST_PREV
Comment 2 Nicole C. Engard 2015-03-04 15:22:46 UTC
Applying: Bug 13717 - Add ability to move old patron attributes when importing new patron data
fatal: sha1 information is lacking or useless (Koha/Borrower/Import.pm).
Repository lacks necessary blobs to fall back on 3-way merge.
Cannot fall back to three-way merge.
Patch failed at 0001 Bug 13717 - Add ability to move old patron attributes when importing new patron data
When you have resolved this problem run "git bz apply --continue".
If you would prefer to skip this patch, instead run "git bz apply --skip".
To restore the original branch and stop patching run "git bz apply --abort".
Patch left in /tmp/Bug-13717---Add-ability-to-move-old-patron-attribu-k3144M.patch
Comment 3 Kyle M Hall 2015-03-26 12:25:00 UTC
Looks like you forgot to apply the dependency.
Comment 4 Chris Cormack 2016-03-06 21:32:42 UTC
This bug depends on 12598 which is in status Patch doesn't apply
Comment 5 Katrin Fischer 2017-10-15 10:48:56 UTC
Dependent bug 12598 has reached 'signed off' status now. But this patch no longer applies on top:

Apply? [(y)es, (n)o, (i)nteractive] y
Applying: Bug 13717 - Add ability to move old patron attributes when importing new patron data
fatal: sha1 information is lacking or useless (Koha/Borrower/Import.pm).
Repository lacks necessary blobs to fall back on 3-way merge.
Cannot fall back to three-way merge.
Patch failed at 0001 Bug 13717 - Add ability to move old patron attributes when importing new patron data
The copy of the patch that failed is found in:
   /home/vagrant/kohaclone/.git/rebase-apply/patch
When you have resolved this problem run "git bz apply --continue".
If you would prefer to skip this patch, instead run "git bz apply --skip".
To restore the original branch and stop patching run "git bz apply --abort".
Patch left in /tmp/Bug-13717---Add-ability-to-move-old-patron-attribu-RtYPcs.patch