> - Original Message -
> > So, what is the motivation of this change?
> > (The only scenario I can imagine is, that the errata cache event
> > will be
> > queued and its organization gets deleted before the background
> > errata cache
> > action gets executed.)
>
> Exactly so. Because of
> Sent: Monday, September 9, 2013 8:27:56 AM
> > Subject: [Spacewalk-devel] [PATCH] UpdateErrataCacheCommand: log an error
> > when orgId is incorrect
> >
> > See attached patch.
> >
> > Previously a NPE would be generated, but since the stack trace is not
On 09/09/2013 10:03 AM, Tomas Lestach wrote:
> So, what is the motivation of this change?
> (The only scenario I can imagine is, that the errata cache event will be
> queued and its organization gets deleted before the background errata cache
> action gets executed.)
I think that is exactly the
ber 9, 2013 8:27:56 AM
> Subject: [Spacewalk-devel] [PATCH] UpdateErrataCacheCommand: log an error
> when orgId is incorrect
>
> See attached patch.
>
> Previously a NPE would be generated, but since the stack trace is not
> very useful as it can only go back until run()
See attached patch.
Previously a NPE would be generated, but since the stack trace is not
very useful as it can only go back until run(), it only polluted test
outputs. I think that logging the error makes more sense in this case.
Regards,
--
Silvio Moioli
SUSE LINUX Products GmbH
Maxfeldstraße