Channel チェックボックスをオンにし、From Date フィールドとTo Date フィールドを空のままにして、エクスペリエンス プロファイル アプリケーションでコンタクトをフィルタリングしようとすると、以下の例外がログに表示される場合があります。
ERROR [Sitecore Services]: HTTP POST URL http://sc920.sc/sitecore/api/ao/v1/contacts/search?pageSize=20&pageNumber=1&sort=visitCount desc&Match=*&FromDate=null&ToDate=null Exception System.AggregateException: One or more errors occurred. ---> Sitecore.XConnect.Search.YourLinqIsTooStrongException: Unsupported query: (VisitMethodCall): PartialEvalException (InvalidOperationException ("Nullable object must have a value."), Convert(null)).ToUniversalTime()
本事象を解決するには、以下の手順に従ってください:
var searchText = decodeURIComponent(cintelUtil.getQueryParam(textProperty)); self.SearchTextBox.set(textProperty, searchText); self.setDefaultDate(); self.toggleFiltersVisibility(); self.findContacts();