tpac: Bookbag ID parameter breaks holds interface in my account

Bug #1003087 reported by Kathy Lussier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
High
Unassigned

Bug Description

Evergreen version: 2.2 RC1

After logging into tpac, a user takes the following steps:

1. Clicks on "My Account" and then goes to their lists page.

2. Clicks on the title for a particular list. The "id" parameter is added to the URL to identify which list should be viewed.

3. After viewing the list, if the user then clicks the "holds" tab, the id for the list is propagated in the URL, which leads to an internal server error. If you remove this parameter from the URL, everything displays normally.

The list id is also propagated when clicking other links (account preferences, items checked out, etc.), but it doesn't lead to any problems with viewing those interfaces. I don't think it's a bad idea for the parameter to propagate since it means the list will still be open if the user returns to the list page. However, the holds page does not like that parameter in the URL

Revision history for this message
Lebbeous Fogle-Weekley (lebbeous) wrote :

Marking this as High mainly because I'm pretty sure I can fix it by 2.2.0.

Changed in evergreen:
importance: Undecided → High
Revision history for this message
Dan Scott (denials) wrote :

"id" is probably an overly generic GET param to use, while we're at it. Maybe something more specific / less likely to clash if propagated, such as "bbid" or "bbagid" or "bbag"?

Ben Shum (bshum)
Changed in evergreen:
milestone: none → 2.2.0
status: New → Confirmed
Revision history for this message
Bill Erickson (berick) wrote :

See also bug #1004604, which breaks the bookbag view in master.

Bill Erickson (berick)
Changed in evergreen:
assignee: nobody → Bill Erickson (erickson-esilibrary)
status: Confirmed → In Progress
Revision history for this message
Bill Erickson (berick) wrote :

Code pushed to working => collab/berick/lp1003087_bbag_id

I had to touch more code than anticipated, so extensive poking and prodding appreciated.

Changed in evergreen:
status: In Progress → Confirmed
tags: added: pullrequest
Changed in evergreen:
assignee: Bill Erickson (erickson-esilibrary) → nobody
Revision history for this message
Lebbeous Fogle-Weekley (lebbeous) wrote :

I have poked and prodded, without finding fault. Thanks Dan and Bill! Pushed to master and rel_2_2.

Forgot the actual sign-off on the commit for master though. Doh!

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.