[katello-devel] Minor tweak on Organization.create!

Garik Khachikyan gkhachik at redhat.com
Thu May 26 12:00:15 UTC 2011


On 05/26/2011 01:34 AM, Partha Aji wrote:
> Based of this bug https://bugzilla.redhat.com/show_bug.cgi?id=692643, I made Organization.create! require an :initial_environment_name field. I have updated the seed scripts and the unit tests, but if you had scripts creating orgs you might need to update them to include :initial_environment_name
>
>
> Partha
>
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel
Partha,

May I ask why the initial_environment_name is made mandatory (and not 
optional, let's say) - as right after org creation it's possible (/me 
tried UI) to remove the prepared initial environment and make the org to 
be without any env at all.

I supposed the need of mandatory initial env. will force having at least 
one (default) env associated to it?

thanks,
Garik.




More information about the katello-devel mailing list