Upgrade script for Enhanced Print/Email may result in missing environment

Bug #1905091 reported by Michele Morgan
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Medium
Unassigned
3.6
Medium
Unassigned

Bug Description

Evergreen 3.6

The enhanced print/email from the OPAC feature was introduced with bug 1749475.

For sites that have customized the print and email action triggers, the upgrade script will preserve the customized triggers for the brief output, but will create new triggers for the full output.

The upgrade script fails to add the environment for the new triggers, resulting in an Internal Server Error when attempting to print and email from the opac.

Revision history for this message
Bob Wicksall (bwicksall) wrote :

I upgraded my test system from 3.3 to 3.6 and can confirm. The temporary bucket gets created but the process dies when it tries to process the template. The data in cbreb is not populated.

Revision history for this message
Michele Morgan (mmorgan) wrote :

Marking this Confirmed based on Bob's comment.

Working branch to add missing environment is here:

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/mmorgan/lp1905091_environment_for_added_triggers

tags: added: opac printing
Changed in evergreen:
status: New → Confirmed
tags: added: pullrequest
Changed in evergreen:
milestone: none → 3.6.2
Revision history for this message
Jason Boyer (jboyer) wrote :

Thanks Michele, that worked for me on my upgraded db and when applied a second time did not cause an issue. Signoff is here: https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/jboyer/lp1905091_print_email_env / working/user/jboyer/lp1905091_print_email_env

tags: added: signedoff
Changed in evergreen:
importance: Undecided → Medium
Changed in evergreen:
milestone: 3.6.2 → 3.6.3
Changed in evergreen:
milestone: 3.6.3 → 3.6.4
Revision history for this message
Galen Charlton (gmc) wrote :

Pushed all the way to rel_3_6. Thanks, Michele and Jason!

Changed in evergreen:
milestone: 3.6.4 → 3.7-beta2
status: Confirmed → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers