SiempreSteve
Log.Logger = new LoggerConfiguration() .WriteTo.Sentry(o => { o.Environment = _config["Sentry:Environment"]; o.Dsn = _config["Sentry:Dsn"]; // Debug and higher are stored as breadcrumbs (default is Information) o.MinimumBreadcrumbLevel = (LogEventLevel) Enum.Parse(typeof(LogEventLevel), _config["Sentry:MinimumBreadcrumbLevel"]); // Warning and higher is sent as event (default is Error) o.MinimumEventLevel = (LogEventLevel) Enum.Parse(typeof(LogEventLevel), _config["Sentry:MinimumEventLevel"]); }) .CreateLogger();
Mike Masey
prolog [12:30:03 ERR] Error occurred executing workItem. System.AggregateException: One or more errors occurred. (No AmbientContext was found.) ---> System.InvalidOperationException: No AmbientContext was found. at Umbraco.Cms.Infrastructure.Scoping.AmbientScopeContextStack.Pop() at Umbraco.Cms.Infrastructure.Scoping.ScopeProvider.PopAmbientScopeContext() at Umbraco.Cms.Infrastructure.Scoping.Scope.<>c__DisplayClass56_0.<RobustExit>g__HandleScopeContext|0() at Umbraco.Cms.Infrastructure.Scoping.Scope.TryFinally(Action[] actions) --- End of inner exception stack trace --- at Umbraco.Cms.Infrastructure.Scoping.Scope.TryFinally(Action[] actions) at Umbraco.Cms.Infrastructure.Scoping.Scope.RobustExit(Boolean completed, Boolean onException) at Umbraco.Cms.Infrastructure.Scoping.Scope.DisposeLastScope() at Umbraco.Cms.Infrastructure.Scoping.Scope.Dispose() at Umbraco.Cms.Infrastructure.Examine.ExamineUmbracoIndexingHandler.DeferredReIndexForContent.<>c__DisplayClass6_0.<Execute>b__0(CancellationToken cancellationToken) at Umbraco.Cms.Infrastructure.HostedServices.QueuedHostedService.BackgroundProcessing(CancellationToken stoppingToken)
Richard Soeteman
Aaron Sawyer
TigerMan
Owain Jones
json "ContentVersionCleanupPolicy": { "EnableCleanup": true, "KeepLatestVersionPerDayForDays": 0, "KeepAllVersionsNewerThanDays": 0 },
AaronSadlerUK
Lewis Heaton
Craig100
var pageRef = _contentService.SaveAndPublish(advertiserPage); GuidUdi adPageUdi = pageRef.Content.GetUdi(); var adPage = _contentService.GetById(adPageUdi.Guid); // <--- Seems to be ok so far! var logoImageRef = adPage.GetValue("logoImage") as Udi; // <--- I get Null here although the image exists in the saved page IMedia logoImage = _mediaService.GetById(logoImageRef.AsGuid());
Nitesh
A hub and casual space for you to interact with fellow community members and learn more about Umbraco!