Mark Item Damaged from Holding View Fails

Bug #1759864 reported by Robert J Jackson
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned
3.2
Fix Released
Undecided
Unassigned

Bug Description

web client 3.0.5

When attempting to use Mark Item as Damaged from pull down for a selected item an error is encountered within Angular code. Attaching screen shot showing error.

Revision history for this message
Robert J Jackson (rjackson-deactivatedaccount) wrote :
Revision history for this message
Elaine Hardy (ehardy) wrote :

Confirmed in 3.0.2

Changed in evergreen:
status: New → Confirmed
Revision history for this message
Christine Burns (christine-burns) wrote :

Confirmed in 3.1

Mark Item Damaged from Check In Screen also fails

Check in Item CONC90000437 -> Actions Mark item damaged -> popup 1 (notice item details are missing) -> nothing happens, popup 2 does not appear

Revision history for this message
a. bellenir (abellenir) wrote :

i got the same error as the original report when marking an item as damaged on both the record's holdings view and from a patron's holds tab:
Error: [$injector:unpr] Unknown provider: egItemProvider <- egItem

it's missing the definition of egItem (../circ/services/item.js)

here's a branch that includes the missing javascript file in the index.tt2 templates:
https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/abellenir/lp1759864-mark-item-damaged-from-holdings-view-fails

i didn't get errors from the checkin screen, however, so that might be a separate bug.

tags: added: pullrequest
Revision history for this message
Jason Stephenson (jstephenson) wrote :

I'm curious what happens if you try after applying the branch from bug 1779467 without your branch applied.

Revision history for this message
a. bellenir (abellenir) wrote :

Jason: if i do that, javascript console says:
Error: [$injector:unpr] Unknown provider: egItemProvider <- egItem

same as before.

Remington Steed (rjs7)
Changed in evergreen:
assignee: nobody → Remington Steed (rjs7)
Revision history for this message
Remington Steed (rjs7) wrote :

I think Christine's check-in comment (#3) may be partly caused by bug #1756441 (marking damaged fails silently on in-transit items). In any case, I agree with abellenir that it seems like a different bug from this one.

When I tested the branch in #4, it removed the errors and fixed the behavior from the Patron Hold tab, but the Holdings View still has a minor problem. Here's what I'm seeing:

- Right-click an "Available" item, choose "Mark: Item as Damaged"
- Confirmation popup looks right, click "Submit"
- Grid refreshes, but item still shows "Available"
- After another refresh, however, it shows the item as "Damaged", so the changed worked, but the timing seems to be wrong.

It seems likely that this is a separate bug that was hidden by the first one, and overall the situation is much improved. So I'll post a signoff branch.

Revision history for this message
Remington Steed (rjs7) wrote :
tags: added: signedoff
Changed in evergreen:
assignee: Remington Steed (rjs7) → nobody
milestone: none → 3.4-beta1
importance: Undecided → Medium
Bill Erickson (berick)
Changed in evergreen:
assignee: nobody → Bill Erickson (berick)
Revision history for this message
Bill Erickson (berick) wrote :

Thanks, all. Issue and fix confirmed. Merged to 3.2 and above.

Changed in evergreen:
milestone: 3.4-beta1 → 3.3.3
status: Confirmed → Fix Committed
assignee: Bill Erickson (berick) → nobody
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.