Bug #7867
Wizard should validate each step and destroy unfinished objects
Description
Currently starting the container wizard creates a Container and builds the object step by step. If for some reason the user stops creating the container at some point, there's a dangling unfinished container object in the db.
It'd be great to have the container destroy itself if not finished. For instance, when one clicks on "all containers" such check could run.
There is a guide here about how the maintainer of Wicked thinks this should be done:
https://github.com/schneems/wicked/wiki/Building-Partial-Objects-Step-by-Step
Associated revisions
fixes #7867: container creation wizard now tracks state in dedicated objects
Refs #7867 - Container wizard state refactor
Refs #7867 - Container wizard state refactor
History
#1
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman-docker/pull/55 added
- Pull request deleted (
)
#2
Updated by Anonymous over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman-docker|6d101d7a7c12f2993483fd4ac1c17158db823cd4.
fixes #7867: container creation wizard now tracks state in dedicated objects