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

Bug #1624443 reported by Christine Morgan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned
2.12
Fix Released
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)
Changed in evergreen:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
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
Revision history for this message
Chris Sharp (chrissharp123) wrote :
tags: added: signedoff
Changed in evergreen:
milestone: none → 3.0-alpha
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.