unusual workflow corrupts purchase order line items

Bug #720355 reported by Demian Katz on 2011-02-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Low
Unassigned

Bug Description

In Evergreen 2.0.1, I was experimenting with acquisitions and found a sequence of actions that seems to lead to corruption:

1. Created a purchase order
2. Attach a brief record and fill in a price
3. Activate the purchase order
4. Receive the line item representing the brief record
5. Add copies to the line item
6. Unreceive the line item
7. Try to receive the line item again

At this point, I get this error:

Event: 1502:ASSET_COPY_NOT_FOUND ->
    Someone attempted to retrieve a copy object from the
    system and the object was not found.

I realize that this is not a sane series of actions... but presumably there are some safeties missing somewhere. Please let me know if additional details are needed -- I have been able to consistently reproduce this problem several times.

Tags: acq Edit Tag help
tags: added: acq
Changed in evergreen:
importance: Undecided → Low
Jason Stephenson (jstephenson) wrote :

Is this still a problem? Is anyone working on this?

Someone who knows, could you please update the bug status?

Jason Stephenson (jstephenson) wrote :

As the submitter suggests, this is not a sane series of actions.

I am setting this to incomplete pending reproduction in more recent versions of Evergreen.

Changed in evergreen:
status: New → Incomplete
Erica Rohlfs (erohlfs) wrote :

Hello!
I attempted to test this particular workflow in Evergreen version 2.4.2 to see if I could recreate this problem. Here are my results using the steps listed above:
1. Created a purchase order.
2. Attached a brief record and filled in price. Since I was unsure if you meant fill in price on the brief record or on the purchase order, I added an estimated price to the purchase order.
3. I had an additional step in version 2.4 to continue following your steps. I needed to select Allow Activation with zero-copy lineitems.
4. Activated the purchase order.
5. Receive the line item representing the brief record. At this point, the line item is still showing Copies (0).
6. Add copies to the line item. This option was greyed out to me, and I could not add items.
7. Unrecieve the line item. A message box opens stating, “This will rollback receipt of selected line items from this purchase order. Continue?”
8. Try to receive the line item again. I received the line item again and did not encounter the message that you list above.

Terran McCanna (tmccanna) wrote :

This seems to be more of a workflow problem than a bug, so marking this Won't Fix.

Changed in evergreen:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers