quality Series.QualityProfile is lazyloaded.

This commit is contained in:
kay.one 2013-04-28 18:47:06 -07:00
commit 016e360d1a
16 changed files with 154 additions and 72 deletions

View file

@ -73,6 +73,11 @@ namespace NzbDrone.Core.DecisionEngine
{
try
{
if (string.IsNullOrWhiteSpace(spec.RejectionReason))
{
throw new InvalidOperationException("[Need Rejection Text]");
}
var searchSpecification = spec as IDecisionEngineSearchSpecification;
if (searchSpecification != null && searchDefinitionBase != null)
{