Opened 2 years ago

Closed 23 months ago

#2990 closed defect (fixed)

Change to is_available inventory prevents web check out of existing cart item

Reported by: Stacey Owned by: dbmulg
Priority: medium Milestone: Server 2.3.11
Component: Public Website 2 Version: N/A
Severity: Keywords:
Cc: Database Engine: N/A
Operating System: N/A

Description

PW user cart does not allow checkout of an accession that was added to the cart with an inventory that is no longer available. A change in the distribution inventory lot on 28 - August prevented the requestor from submitting a request.

Scenario:

  1. Requestor added item to cart prior to 8/28. PI 603833 22ai01 inventory.
  2. Curator unchecked the is_available flag on 22ai01 inventory on 8/28.
  3. Curator checked is_available flag on 2023ai01 inventory on 8/28
  4. Requestor successfully submitted web request on 8/31. PI 603833 remained in cart.

Resolution:
Requestor takes the following steps to submit a "fresh" request for accession:

  1. Delete PI 603833 from your cart
  2. Search for PI 603833
  3. Add PI 603833 to the empty cart
  4. Submit your request through the standard checkout process
  5. After successful submission, the site merged new web request with open request

Attachments (1)

Change History (5)

comment:1 by Kay Kittell, 2 years ago

Owner: changed from Kay Kittell to dbmulg
Status: new → assigned

The user chose an accession and when they put it in their cart, it had a default inventory_id of some number. By the time they checked out, the cooperator changed what inventory_id was the default, so when the last check to see if that inventory_id was ok, it came back as not not available. Inventory_id is assigned for every cart item, so the checks if (invid == 0) will never happen.
You'll need to determine if the accession is available with any inventory_id if the user didn't request a specific inventory.

comment:2 by dbmulg, 2 years ago

Milestone: → Server 2.3.11
Status: assigned → addressed

modified code in order.aspx.cs, checked into GIT for next release 2.3.11.

comment:3 by Stacey, 2 years ago

Works as expected on Dev. Very good PW user experience.

It highlights the cart item if the accession is no longer available with any inventory
AND does not notify the user if the underlying inventory was updated in the CT but the accession is still available.

comment:4 by Stacey, 23 months ago

Resolution: → fixed
Status: addressed → closed

Verified on prod in January 1, 2025 - GG Server Release 2.3.11

Note: See TracTickets for help on using tickets.