Project

General

Profile

Bug #1083

error-message on validation error at Host.built

Added by Alexander Rusa about 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

In app/model/host.rb on line 185 (inside the built function) i just had the problem, that "self.save" didn't work, because there was a validation error.

But at this point I don't get the error-message that there is a validation-error, it just says "Failed to cancel pending build for..." (the error comes from HostsController).

Maybe there is a way to catch this error and print it to the user!

History

#1 Updated by Ohad Levy over 7 years ago

  • Status changed from New to Feedback

I think this has been solved correctly, as now we should be writing back the actual errors.

Do you still see this issue with 0.4+ ?

#2 Updated by Benjamin Papillon almost 7 years ago

  • Status changed from Feedback to Closed
  • Target version set to Bug scrub

Hello,

Due to lack of update we are closing this bug.
Please, reopen it if you still have the problem with newer builds.

Also available in: Atom PDF