on 2020 Nov 06 9:47 AM
In Hybris, When one transaction is removing items, the items will only be removed when transaction commit. The isRemoved attribute is set to true for the Item in Global Cache. But another transaction which fetches the same PK will be able to find this Item in the Global Cache. When ItemModelConverter is trying to convert this item into model, it throws exception
item xxxx no longer valid (was removed): object no longer valid.
Is this a bug from Hybris? I think when the first transaction didn't commit, the item should still be existing since it's a mirror for what is still existing in DB
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.