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

--- Comment #1 from Olivia Reynolds <[email protected]> ---
Created attachment 211781
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211781&action=edit
Bug 44110: DB Updates

As we will be supporting multiple type disclaimer fields, we opt to make
them their own object in their own table rather than forcing them into
the request extended attributes.

Existing type disclaimer responses are migrated into the new table, but
we do not delete the existing extended attributes to prevent data loss
in case of issues.

Test plan:
1.  Enable the ILLModule syspref.
2.  Set the ILLModuleDisclaimerByType syspref to the following:

all:
  text: Field one
  av_category_code: YES_NO

3.  Create an ILL request through the staff UI, and fill out the type
    disclaimer during creation.
4.  Apply patch, and update the database.
5.  Depending on whether you have SQL access:
    - Yes: Run
        SELECT * FROM ill_type_disclaimers WHERE illrequest_id=99999
      replacing 99999 with the ID of the new ILL request. Verify that
      there is a row for the type disclaimer you just filled out, and
      that all of the information is correct.
    - No: After following every test plan in this bug, return to this
      ILL request and verify you can correctly view your disclaimer
      response through the new modal.

Sponsored-by: NHS England

-- 
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/

Reply via email to