[Koha-bugs] [Bug 15367] New: Batch patron modification: Data loss with multiple repeatable patron attributes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 14 10:18:55 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15367

            Bug ID: 15367
           Summary: Batch patron modification: Data loss with multiple
                    repeatable patron attributes
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Patrons
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: veron at veron.ch
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

To reproduce:

- Create a patron attribute type that is repeatable, e.g. HOBBIES
- Edit a patron and add multiple values of this type, e.g.
  Skating, Skiing, Swimming
- Do a batch update for this patron with three values for
  the attribute, e.g. 
  Reading, Jogging, Surfing
- Go back to patron's detail page. 
- Result: Only one attribute is set (Surfing)
  (Expected: All 3 attributes are updated)

- Restore the original values Skating, Skiing, Swimming
  Do the batch modification with one attribute only, e.g.
  Painting
- Go back to patron's detail page
- Result: Only one attribute is set (Painting)
  (Expected: Painting, Skiing, Swimming)

Additionally, exclusive attributes can be repeated in batch update, result is
similar as above (last attribute is taken).
Expected: Exclusive attributes should not be repeatable in batch update.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list