[Engine-devel] "wipe after delete" Matching defaults from GUI to Backend

Ravi Nori rnori at redhat.com
Tue Oct 9 16:40:56 UTC 2012


I am working on the bug where the defaults values in the GUI for disk 
actions don't correspond to the default values in the API/Backend. For 
example the "wipe after delete" flag defaults to true in the GUI but 
false in the backend code. Default values are not sent from the frontend 
to the backend. Please refer to the bugzilla link

https://bugzilla.redhat.com/show_bug.cgi?id=845466

After discussing with Michael as to how to approach fixing this, we 
think the best way to do it would be to fix it in the Backend class 
businessentities.Disk by replacing primitives with reference types and 
forcing business logic in the class to set the default values to match 
the default values in the client.

I would appreciate some feedback on this and also on what the default 
values are for Disk operations on the GUI.

Thanks

Ravi



More information about the Devel mailing list