Copied to clipboard

Flag this post as spam?

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


  • Kristoffer Munch 6 posts 26 karma points
    Jan 27, 2015 @ 16:13
    Kristoffer Munch
    0

    Package for 7.2?

    I can install the package 1.0.2 in my umbraco 7.2.1 and it works and loads the Google Analytics statistics in the backend but on my webpage I get an runtime error in "Umbraco.Web.Models.DynamicPublishedContentlist does not contain a definition for Any" when calling Any() on an contentlist obejct. What does the package have to do with the contentlist object and when will you relesase a package for 7.2?

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jan 27, 2015 @ 16:31
    Dennis Aaen
    0

    Hi Kristoffer,

    I have just tried to install the analytics package 1.0.2 on a fresh Umbraco 7.2.1 installation with the Fanoe starter kit installed. As you said the install of the package works great, and I can get data in the backoffice from Google Analytics.

    When I go to the frontend my frontpage of the site, it works fine. Did you have any other packages installed on your installation that perhaps can conflict with the Analytics package.

    /Dennis

  • Kristoffer Munch 6 posts 26 karma points
    Jan 28, 2015 @ 08:40
    Kristoffer Munch
    0

    Hi Dennis,

    I have CMSimport, Diplo Trace Log Viewer and Umport installed but the error comes from a partial view where I call .Children.Where("Visible").Any()

    The error comes after installing the Analytics package and disapper after uninstalling it again.

    - Kristoffer

  • Henning Bottenvik 4 posts 25 karma points
    Jan 28, 2015 @ 10:37
    Henning Bottenvik
    0

    Hi!

    I have the same issue. I belive it is the same issue that is described in this thread:
    http://our.umbraco.org/projects/backoffice-extensions/analytics/help-issues/56942-Razor-Partial-View-Macros-broken-with-102-Umbraco-714

    I tested just now with Nuget and VS2012 to install umbraco, bootstrap, jquery -> then did a install of umbraco, installed the Analytics package from the backoffice. After install I got the same isse as Kristoffer ->

    'Umbraco.Web.Models.DynamicPublishedContentList' does not contain a definition for 'Any'

    this was in MainNavigation.cshtml (Fanoe starterkit)

    I belive there is some issue with one of the google api dlls and some of the mvc dll's. Been great if there would be a solution to this :)

    /Henning

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 28, 2015 @ 10:43
    Jan Skovgaard
    0

    Hi guys

    I think it might also be a good idea to report the issue on Github here https://github.com/warrenbuckley/Analytics/issues - Seems like there was a report 20 days ago about Google.Apis.Auth.Mvc4.dll causing error with 7.2 grid editor. So I think it's a known bug.

    If anyone of you have the skills then I'm certain that Warren and Tim will highly appreciate a PR that they can merge into the source and then release a new version where this issue is fixed.

    /Jan

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies