[Koha-bugs] [Bug 18606] Move rotating collections code to Koha::Object

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 20 13:17:47 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18606

Josef Moravec <josef.moravec at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #72572|0                           |1
        is obsolete|                            |
  Attachment #72573|0                           |1
        is obsolete|                            |
  Attachment #72574|0                           |1
        is obsolete|                            |
  Attachment #72575|0                           |1
        is obsolete|                            |
  Attachment #72576|0                           |1
        is obsolete|                            |
  Attachment #72577|0                           |1
        is obsolete|                            |
  Attachment #72578|0                           |1
        is obsolete|                            |
  Attachment #72579|0                           |1
        is obsolete|                            |
  Attachment #72580|0                           |1
        is obsolete|                            |
  Attachment #72581|0                           |1
        is obsolete|                            |
  Attachment #72582|0                           |1
        is obsolete|                            |
  Attachment #72583|0                           |1
        is obsolete|                            |
  Attachment #72584|0                           |1
        is obsolete|                            |
  Attachment #72585|0                           |1
        is obsolete|                            |
  Attachment #72586|0                           |1
        is obsolete|                            |
  Attachment #72587|0                           |1
        is obsolete|                            |
  Attachment #72816|0                           |1
        is obsolete|                            |

--- Comment #145 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 79141
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=79141&action=edit
Bug 18606: Add RotationCollections object classes

Test plan:
1) Apply the patch
2) Update database
3) Go to tools -> Rotating collections and play with trying to break it:
    3a) Add some collections
    3b) Edit them
    3c) Add some items to collections
    3d) Remove some items
    3e) Transfer some collections
    3f) Try to remove collection without items
    3g) Try to remove collection with items
4) Go to returns and:
    4a) Try to return item from untransferred collection
    4b) Try to return item from transferred collection
5) prove t/db_dependent/Koha/RotatingCollections.t
t/db_dependent/Koha/Items.t t/db_dependent/Circulation.t
t/db_dependent/Circulation/Returns.t

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list