Adding a duplicate title to a Temporary List causes an "Internal Server Error"

Bug #1624443 reported by Christine Morgan on 2016-09-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Medium
Unassigned
2.12
Medium
Unassigned

Bug Description

Evergreen 2.10.5 and earlier

In the public catalog, if you add the same title record to a Temporary List more than once, you get an Internal Server Error when you try and access your Lists. Since you can't tell what titles you have already added, when logged in to your account, adding a duplicate record could occur frequently. (See related bug: https://bugs.launchpad.net/evergreen/+bug/1182547)

To see the problem:
1. Log in to your account.
2. Add the same title record twice to a Temporary List.
3. Click on "Lists" in the account dashboard or "View My Lists" on the results screen.

summary: - Adding a duplicate title to a Temporary List causes and Duplicate title
- in Temporary List causes "Internal Server Error"
+ Adding a duplicate title to a Temporary List causes an "Internal Server
+ Error"
tags: added: lists tpac
tags: added: opac
removed: tpac
Kathy Lussier (klussier) on 2016-09-16
Changed in evergreen:
status: New → Confirmed
importance: Undecided → Medium
Cesar V (cesardv) wrote :

The code in the branch below should prevent the mylist page from crashing when there are duplicate title added to the temp list:

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/cesardv/lp1624443_prevent_crash_due_OPAC_tempList_dups

tags: added: pullrequest
Chris Sharp (chrissharp123) wrote :
tags: added: signedoff
Changed in evergreen:
milestone: none → 3.0-alpha
Galen Charlton (gmc) wrote :

Pushed to master and rel_2_12. Thanks, Cesar and Chris!

Changed in evergreen:
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