On Fri, Jul 03, 2009 at 12:25:36PM -0400, James Bowes wrote:
> There is no client side logic stopping an empty profile name from being
> set, so it's possible for someone to try and set empty system profile
> names during registration. The automatic profile name as determined by
> rhn_register might also fail and give an empty profile name (as can
> happen with KVM guests).
>
> Add some server-side logic to set a reasonable default profile name
> ("unknown") if one is not provided, rather than causing an ISE due to a
> schema constraint.
>
> Patch attached.
>Nevermind. dgoodwin tested and found that your schema doesn't enforce NOT NULL on the name, and displays 'unknown' in the UI if the profile name is null. -James
pgpCMoTfAigFJ.pgp
Description: PGP signature
_______________________________________________ Spacewalk-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-devel
