$core_v2_activityStory.List Problems

Version 10.3.1.7330

There seems to be an issue with 2 optional parameters for the $core_v2_activityStory.List widget extension. We currently have version 10.0.2.5303 in production where this extension functions as expected (using the values below) but now we are currently in the process of upgrading to 10.3.1.7330 and noticed a few issues.

The parameters in question are:

  • IncludeUserEffectiveMemberGroups:
     
    • When included into the query it seems to not be honored, as groups that I'm not a member of are also being returned in the result set.

      The following are the parameter values used to run the request.

PageSize: 10
UserId: 5250
SortBy: Date
SortOrder: Descending
IncludeUserEffectiveMemberGroups: True
_Filter_333cc77c019644c5aefa6e35a0011ee8: All
_Filter_276a9e5128394ae98291e3f24b49cbc4: All
_Filter_3d10e9df357b42038f7d3bf15f60fd61: All
_Filter_a481f65a7c744bdea8da44f562aaed91: All
_Filter_0f7404b7d8f24a1b97c9175af1be4570: All
_Filter_948477cb045b40778bf17ce1a091db11: All
_Filter_4938dae8d68844109d8f82421f8ee2be: All
_Filter_919abea56ce64b34a6a6baf8b392af90: All
_Filter_a23334fb669a421d85e91945a7b80581: All
_Filter_edebd6ada45a470f89e63dfc31714bd6: All
_Filter_cf26068cf6644050bf69f1d5c3e7eb1a: All
_Filter_0a680cf3f19648c592dbdf8cebe3fe92: All

  • IncludeSubContainers:
    • When included into the query the front end request returns nothing, but looking at the Admin Monitoring Utility the community platform is generating an error.

      The following are the parameter values used to run the request.

    PageSize: 10
    UserId: 5250
    SortBy: Date
    SortOrder: Descending
    IncludeSubContainers: True
    _Filter_333cc77c019644c5aefa6e35a0011ee8: All
    _Filter_276a9e5128394ae98291e3f24b49cbc4: All
    _Filter_3d10e9df357b42038f7d3bf15f60fd61: All
    _Filter_a481f65a7c744bdea8da44f562aaed91: All
    _Filter_0f7404b7d8f24a1b97c9175af1be4570: All
    _Filter_948477cb045b40778bf17ce1a091db11: All
    _Filter_4938dae8d68844109d8f82421f8ee2be: All
    _Filter_919abea56ce64b34a6a6baf8b392af90: All
    _Filter_a23334fb669a421d85e91945a7b80581: All
    _Filter_edebd6ada45a470f89e63dfc31714bd6: All
    _Filter_cf26068cf6644050bf69f1d5c3e7eb1a: All
    _Filter_0a680cf3f19648c592dbdf8cebe3fe92: All

      ContentFragmentRenderingError
      An error occurred while rendering the scripted widget 'Activity Story Stream (Test)' (42e49dadfa524664959eef2842b1f9cd)
      First Occurred	Thu, Jul 11 2019 13:55
      Last Occurred	Thu, Jul 11 2019 13:55
      Total Occurrences	1
      Server	Community
      Request	GET /community/utility/scripted-file.ashx?_cf=callback-morestories.vm&_fid=12550&_wid=fragment-12550&_ct=page&_cp=common-home&_ctt=0c647246673542f9875dc8b991fe739b&_ctc=00000000000000000000000000000000&_ctn=3fc3f82483d14ec485ef92e206116d49&_cc=0&_ipd=0&_pcurl=~%2F&w_filterIndex=0&w_filterType=Site&w_endDate=&w_pageSize=10&w_userId=5250&w_group=1&_=1562849722789
      IP Address	51.140.50.25
      User Agent	Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KH
      Referrer	https://mycommunity.com/
      UnknownException: An error occurred while rendering the scripted widget 'Activity Story Stream (Test)' (42e49dadfa524664959eef2842b1f9cd) (An error occurred while trying to render a widget. Details of the issue were logged for review by the administrator.) ---> NVelocity.Exception.MethodInvocationException: Invocation of method 'PrimaryUser' in Telligent.Evolution.Extensibility.Api.Entities.Version1.ActivityStory, template f:42e49dadfa524664959eef2842b1f9cd::story.vm Line 12 Column 42 threw an exception ---> System.NullReferenceException: Object reference not set to an instance of an object.
         at Telligent.Evolution.CoreServices.ActivityStories.Model.ActivityStory.Telligent.Evolution.Extensibility.Content.Version1.IActivityStory.get_Actors()
         at Telligent.Evolution.Api.Entities.Mappers.StatusMessageStoryMapper.ConvertToApi(IActivityStory item)
         at Telligent.Evolution.Api.Plugins.ActivityStories.StatusMessageStoryType.GetPrimaryUser(IActivityStory story)
         at Telligent.Evolution.CoreServices.ActivityStories.Implementations.ActivityStoryService.GetPrimaryUserId(ActivityStory story)
         at Telligent.Evolution.Extensibility.Api.Entities.Version1.ActivityStory.get_PrimaryUser()
         --- End of inner exception stack trace ---
         at NVelocity.Runtime.Parser.Node.ASTIdentifier.Execute(Object o, IInternalContextAdapter context)
         at NVelocity.Runtime.Parser.Node.ASTReference.Execute(Object o, IInternalContextAdapter context)
         at NVelocity.Runtime.Parser.Node.ASTSetDirective.Render(IInternalContextAdapter context, TextWriter writer)
         at NVelocity.Runtime.Parser.Node.ASTBlock.Render(IInternalContextAdapter context, TextWriter writer)
         at NVelocity.Runtime.Parser.Node.ASTIfStatement.Render(IInternalContextAdapter context, TextWriter writer)
         at NVelocity.Runtime.Parser.Node.SimpleNode.Render(IInternalContextAdapter context, TextWriter writer)
         at NVelocity.Template.Merge(IContext context, TextWriter writer)
         at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentRenderingService.<>c__DisplayClass28_0.<RenderScriptInternal>b__0()
         at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentOutputCachingService.Get(ScriptedContentFragment fragment, String cacheKey, Boolean cacheable, Func`1 getRenderedOutput)
         at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentRenderingService.RenderScriptInternal(ScriptedContentFragment contentFragment, NameValueCollection parameters, IPropertyTemplateOptions propertyOptions, String templateName, String internalId, String wrapperId, Boolean throwExceptions, String cacheKey)
         --- End of inner exception stack trace ---
         at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentLoggingService.LogRenderingError(Exception ex, ScriptedContentFragmentData data)
         at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentRenderingService.RenderScriptInternal(ScriptedContentFragment contentFragment, NameValueCollection parameters, IPropertyTemplateOptions propertyOptions, String templateName, String internalId, String wrapperId, Boolean throwExceptions, String cacheKey)
         at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentRenderingService.RenderScript(ScriptedContentFragment fragment, NameValueCollection parameters, String fileName, String internalId, String wrapperId, Boolean throwExceptions)
         at Telligent.Evolution.VelocityExtensions.Widget.ExecuteFile(String fileName)
         at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
         at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
         at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
         at NVelocity.Runtime.Parser.Node.ASTMethod.Execute(Object o, IInternalContextAdapter context)
         at NVelocity.Runtime.Parser.Node.ASTReference.Execute(Object o, IInternalContextAdapter context)
         at NVelocity.Runtime.Parser.Node.ASTReference.Render(IInternalContextAdapter context, TextWriter writer)
         at NVelocity.Runtime.Directive.Foreach.ProcessSection(ForeachSectionEnum sectionEnumType, INode[][] sections, IInternalContextAdapter context, TextWriter writer)
         at NVelocity.Runtime.Directive.Foreach.Render(IInternalContextAdapter context, TextWriter writer, INode node)
         at NVelocity.Runtime.Parser.Node.ASTDirective.Render(IInternalContextAdapter context, TextWriter writer)
         at NVelocity.Runtime.Parser.Node.SimpleNode.Render(IInternalContextAdapter context, TextWriter writer)
         at NVelocity.Template.Merge(IContext context, TextWriter writer)
         at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentRenderingService.<>c__DisplayClass28_0.<RenderScriptInternal>b__0()
         at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentOutputCachingService.Get(ScriptedContentFragment fragment, String cacheKey, Boolean cacheable, Func`1 getRenderedOutput)
         at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentRenderingService.RenderScriptInternal(ScriptedContentFragment contentFragment, NameValueCollection parameters, IPropertyTemplateOptions propertyOptions, String templateName, String internalId, String wrapperId, Boolean throwExceptions, String cacheKey)
         at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentRenderingService.RenderScript(ScriptedContentFragment fragment, NameValueCollection parameters, String fileName, String internalId, String wrapperId, Boolean throwExceptions, String cacheKey)
         at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentFileExecutionService.RenderFileInternal(HttpContextBase context, String internalId, String wrapperId, ScriptedContentFragment fragment, String fileName, NameValueCollection parameters, IPropertyTemplateOptions propertyOptions)
         at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentFileExecutionService.LoadAndRenderFragment(HttpContextBase context, IContentFragmentContainer container, String containerType, ThemeConfiguration themeConfiguration, Guid themeTypeId, Guid themeContextId, Guid themeId, Int32 configuredContentFragmentId, String fileName, Int32 inheritContentFromParentThemeDepth, String wrapperId)
         at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentFileExecutionService.HandleRequest()
         at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
         at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
         at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
         at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
         at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
         at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
         at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
         at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
         at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
         at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
         at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
         at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)

      Parents Reply Children
      No Data