Project

General

Profile

Bug #7397

Incorrect error when trying to destroy an organization

Added by David Davis over 7 years ago. Updated almost 4 years ago.

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

Description

User hit an error when trying to delete an org via hammer import:

Cannot delete record because of dependent kt_environments (ActiveRecord::DeleteRestrictionError)

History

#1 Updated by David Davis over 7 years ago

I think I was able to reproduce the problem by adding in an error:

https://gist.github.com/45ca8cde62e50040eef1

I think dynflow actions might be swallowing the exceptions maybe.

#2 Updated by David Davis over 7 years ago

  • Status changed from New to Assigned

#3 Updated by David Davis over 7 years ago

  • Status changed from Assigned to Rejected

From Ivan:

Up until now, the planning phase continued even thought some error occured already in planning.
(that was not that big deal, as far as the task stopped there and roll-backed the changes).
However, it was bug of course: the fix was done here https://github.com/Dynflow/dynflow/pull/123

I've just released dynflow 0.7.5 to include this change.

One can still get all the errors that occured during the task from the task details (errors tab)

#4 Updated by David Davis over 7 years ago

  • Subject changed from Error when trying to destroy an organization to Incorrect error when trying to destroy an organization

#5 Updated by Eric Helms over 7 years ago

  • Legacy Backlogs Release (now unused) set to 13

#6 Updated by Eric Helms about 7 years ago

  • Legacy Backlogs Release (now unused) deleted (13)

#7 Updated by Eric Helms almost 6 years ago

  • Legacy Backlogs Release (now unused) set to 166

Also available in: Atom PDF