Project

General

Profile

Bug #15774

Error deleting content view

Added by Brian Shaw almost 6 years ago. Updated almost 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Content Views
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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

History

#1 Updated by Justin Sherrill almost 6 years ago

  • Status changed from New to Need more information
  • Legacy Backlogs Release (now unused) set to 166

Do you still see this on katello 3.0?

#2 Updated by Justin Sherrill almost 6 years ago

  • Category set to Content Views
  • Status changed from Need more information to Rejected

Also available in: Atom PDF