Bug #1083
error-message on validation error at Host.built
| Status: | Closed | Start: | 08/03/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | 1.1 | |||
| Backlog: | No | Difficulity: | ||
| Votes: | 0 |
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
Updated by Ohad Levy over 1 year 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+ ?
Updated by Benjamin Papillon 6 months 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.
