Copied to clipboard

Flag this post as spam?

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


  • Tom 711 posts 948 karma points
    Aug 31, 2018 @ 06:29
    Tom
    0

    7.8 - Not working after fresh install

    Hi I've downloaded nexu 1.6 and installed. I try and rebuild the index for the first time and get the error in console - looks like a case issue where the property name PreventDefault is actually preventDefault on the object.

    Will fix and submit a PR enter image description here

    Thanks :)

  • Dave Woestenborghs 3213 posts 10797 karma points MVP 4x admin c-trib
    Aug 31, 2018 @ 06:34
    Dave Woestenborghs
    0

    Hi Tom,

    How did you install the package ? Using the package installer or nuget ?

    I have it running on multiple websites with multiple versions of umbraco installed.

    Seems to me that something is not installed correctly.

    Dave

  • Dave Woestenborghs 3213 posts 10797 karma points MVP 4x admin c-trib
    Aug 31, 2018 @ 06:37
    Dave Woestenborghs
    0

    By the way. I think it could be that the client dependency framework is not updated correclty.

    Go in to /config/clientdependency.config file and find the version attribute. Increment this by 1

    To be sure go in to /App_Data/TEMP/ClientDependency and delete everything in there.

    Restart IIS and clear your browser cache.

    See if that helps.

    Dave

  • Tom 711 posts 948 karma points
    Aug 31, 2018 @ 06:37
    Tom
    0

    enter image description here

    You'll notice here that the nexu object in umbraco.sys.servervariables is actually specified in lower case and dashboard-controller.js is looking for an title case version of the prop

  • Dave Woestenborghs 3213 posts 10797 karma points MVP 4x admin c-trib
    Aug 31, 2018 @ 06:40
    Dave Woestenborghs
    0

    Hi Tom,

    I actually set it on the servervariables using uppercase :

    https://github.com/dawoe/umbraco-nexu/blob/develop/Source/Our.Umbraco.Nexu.Core/BootStrapper.cs#L106

    Do you have any other packages installed or have you done something to change the json formatting ?

    Dave

  • Tom 711 posts 948 karma points
    Aug 31, 2018 @ 06:42
    Tom
    0

    Hi Dave, Thanks very much ah yes we have a CamelCasePropertyNamesContractResolver in our default Json serialiser settings in startup.. that'd do it :)

  • Dave Woestenborghs 3213 posts 10797 karma points MVP 4x admin c-trib
    Aug 31, 2018 @ 06:49
    Dave Woestenborghs
    0

    Hi Tom,

    That's probably it. This can possibly break umbraco and other packages as well.

    Dave

Please Sign in or register to post replies

Write your reply to:

Draft