London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Hi,
It seem like your passing in data to the Web.Definitions.Util.Brand.Helpers.ArticleListingHelper.ListArticlesHelper.CreateArticlesObject function that is not valid. Have you put a breakpoint in this method and checked what kind of data you're passing in to the method?
The error is quite obvious, the page/content with ID 15422 doesn't exist anymore.
I have chcked the database and their is no content with that ID.
This content is deleted but still it is taking reference of that content.
Dont from where it is taking.
Hi All
Am getting below exception when mapping to one particuler category landing page to a specific market.
EPiServer.Core.ContentNotFoundException
Content with id 15422 was not found
EPiServer.Core.ContentNotFoundException: Content with id 15422 was not foundb__0()b__0()b__d()b__6(ArticlePage p) in e:\BuildAgent\work\1761b90b63b765eb\XXX.Web.Definitions\Util\Brand\Helpers\ArticleListingHelper\ListArticlesHelper.cs:line 66
at EPiServer.DataAccess.ContentLoadDB.LoadContentInternal(ContentReference contentLink, Int32 languageBranchId, DbDataReader reader)
at EPiServer.DataAccess.ContentLoadDB.<>c__DisplayClass1.
at EPiServer.Data.Providers.SqlDatabaseHandler.<>c__DisplayClass1`1.
at EPiServer.Data.Providers.SqlDeadlockRetryPolicy.Execute[TResult](Boolean isInTransaction, Func`1 method)
at EPiServer.Core.ContentProvider.<>c__DisplayClassf.
at EPiServer.Core.OptimisticCache`1.Read(String cacheKey, ReadAndCacheObject`1 readAndCacheObject)
at EPiServer.Core.ContentProvider.LoadContentFromCacheOrRepository(ContentReference contentreference, ILanguageSelector selector)
at EPiServer.Core.ContentProvider.Load(ContentReference contentLink, ILanguageSelector selector)
at EPiServer.DataFactory.Get[T](ContentReference contentLink, ILanguageSelector languageSelector)
at EPiServer.DataFactory.Get[T](ContentReference contentLink)
at POSSIBLE.ProfiledContentRepository.ProfiledContentRepository.Get[T](ContentReference contentLink)
at Reebok.Web.Definitions.Util.Brand.Helpers.ArticleListingHelper.ListArticlesHelper.
at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at XXX.Web.Definitions.Util.Brand.Helpers.ArticleListingHelper.ListArticlesHelper.CreateArticlesObject(ArticlePage[] articles, ICategory category, Int32 page, Int32 take) in e:\BuildAgent\work\1761b90b63b765eb\XXX.Web.Definitions\Util\Brand\Helpers\ArticleListingHelper\ListArticlesHelper.cs:line 63
at XXX.Web.Views.Brand.Pages.Articles.ArticlePageTemplate.Page_Load(Object sender, EventArgs e) in e:\BuildAgent\work\1761b90b63b765eb\XXX.Web\Views\Brand\Pages\Articles\ArticlePageTemplate.aspx.cs:line 45