Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Olie 11 posts 52 karma points
    Sep 27, 2016 @ 23:19
    Olie
    0

    v3.0.6 not updating visitor profile

    Hi,

    I'm having issue using the package (v3.0.6) on my local umbraco (v7.2.4). I've been trying to test how this works and on the surface everything appears ok but I traced out what I could and found that there is an issue where the profile is not created.

    I added this to my razor view:

    @(string.Join(",", Umbraco.Spindoctor().CurrentVisitorSegments ?? Enumerable.Empty

    and gives me this:

    
    SpindoctorAttributeComponents|2:59,1:0
    8: Found valid license for ###.local
    7: Processing http://###.local/
    6: Verifying Spindoctor web.config settings
    5: Verifying Spindoctor dashboard page
    4: Verifying Spindoctor section translations
    3: Verifying Spindoctor permissions
    2: Verifying Spindoctor tree
    1: Verifying Spindoctor section
    0: Verifying Spindoctor database model
    

    So this shows that the page has the property editor added but does nothing to the profile. I then looked into the code and found there is logging in a text file which states an error every time the page is loaded.

    from "~/app_data/SpindoctorLog.txt"

    [28/09/2016 11:58:21] An item with the same key has already been added.
       at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
       at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
       at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
       at Spindoctor.Web.Configuration.get_Settings()
       at Spindoctor.Web.Configuration.get_RequestItemMustExist()
       at Spindoctor.Web.Tracking.Tracker.DoTracking(HttpRequest request)
       at Spindoctor.Web.Tracking.Tracker.ProcessPageRequest(HttpContext context)
       at Spindoctor.Umbraco.v7.SpindoctorModule.OnAcquireRequestState(Object sender, EventArgs e)
    

    Thanks for any help in advance!

Please Sign in or register to post replies

Write your reply to:

Draft