nullable gpgUrl field in Content

Jesus M. Rodriguez jmrodri at gmail.com
Tue Aug 23 13:43:19 UTC 2011


Is there a reason it should be nullable? Why don't we just mark it NOT NULL?
If we expect it to be there, then it should be there.

jesus

On Tue, Aug 23, 2011 at 7:00 AM, Dmitri Dolguikh <dmitri at redhat.com> wrote:
> In content model gpgUrl is declared as nullable. However, it is used during
> generation of content extension for the entitlement certificate and an NPE
> is thrown if it is a null. Not sure what would be the best way to handle
> this, but a patch fixing the issue is attached. Perhaps the model should be
> updated to make gpg a non-null field as well?
>
> cheers,
> -d
>
> _______________________________________________
> candlepin mailing list
> candlepin at lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/candlepin
>
>



More information about the candlepin mailing list