Project

General

Profile

Actions

Bug #7397

closed

Incorrect error when trying to destroy an organization

Added by David Davis over 10 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

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

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

Updated by David Davis over 10 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.

Actions #2

Updated by David Davis over 10 years ago

  • Status changed from New to Assigned
Actions #3

Updated by David Davis over 10 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)

Actions #4

Updated by David Davis over 10 years ago

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

Updated by Eric Helms over 10 years ago

  • Translation missing: en.field_release set to 13
Actions #6

Updated by Eric Helms almost 10 years ago

  • Translation missing: en.field_release deleted (13)
Actions #7

Updated by Eric Helms over 8 years ago

  • Translation missing: en.field_release set to 166
Actions

Also available in: Atom PDF