Project

General

Profile

Actions

Bug #15774

closed

Error deleting content view

Added by Brian Shaw over 8 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Content Views
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When I try to delete a composite content view version, in Katello 2.4, I get the following errors in the task:

Runtime Error Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1 at org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched:81
Runtime Error null at org.candlepin.model.AbstractHibernateCurator.delete:326
Runtime Error null at org.candlepin.model.AbstractHibernateCurator.delete:326
Runtime Error null at org.candlepin.model.AbstractHibernateCurator.delete:326
Runtime Error null at org.candlepin.model.AbstractHibernateCurator.delete:326
Runtime Error Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1 at org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched:81
Runtime Error null at org.candlepin.model.AbstractHibernateCurator.delete:326
Katello::Resources::Candlepin::Environment: 400 Bad Request (DELETE /candlepin/environments/2-7/content?content=1469024787489)
Runtime Error null at org.candlepin.model.AbstractHibernateCurator.delete:326
Runtime Error Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1 at org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched:81

How did the database get out of sync and how do we fix it?

Brian

Actions

Also available in: Atom PDF