Copied to clipboard

Flag this post as spam?

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


  • suzyb 476 posts 934 karma points
    May 04, 2016 @ 14:53
    suzyb
    0

    Grid editor not working on a mac unless site in debug mode

    We have an issue with a colleague where the grid editor doesn't seem to work on his mac unless the site is in debug mode. This has happened on a couple of sites so it isn't just one that has some weirdness going on.

    Colleague is using Mac OSX 10.10.5 and it happens on the latest versions of Chrome, Firefox and Safari browsers. He said the grid editor had been working for a couple of weeks until he restarted his Mac today after which it stopped. It seems like there must be something installed / running on the mac that interferes with the grid editor in some way but what.

    I know nothing about macs and wondered if anyone who is more familiar with them would know what could be causing this issue.

  • Nicholas Westby 2054 posts 7104 karma points c-trib
    May 04, 2016 @ 16:35
    Nicholas Westby
    0

    I haven't heard of that issue in particular, but here are some ideas:

    • When in debug mode, it is easier to bust (i.e., refresh) the server-side caches (e.g., the plugin and client dependency caches).
    • Some plugins change the JavaScript they call based on whether or not the site is in debug mode (i.e., it may be a plugin within the grid rather than the grid itself that is causing issues).
    • I have seen an issue on IE9 in which using console.log breaks a site unless you have the F12 developer console open. Doesn't sound exactly the same as your issue, but perhaps it may inspire some ideas.

    I'd check for JavaScript errors in the console first.

  • suzyb 476 posts 934 karma points
    May 09, 2016 @ 10:16
    suzyb
    0

    Got my colleague to sent the console error. It seems the problem is related to Archetype. I assume it's some error stopping the javascript running which means the grid doesn't work as there are no archetype's used in the grid editor.

    This is part of the error, the rest just seems to point to the call stack.

    lazyload.js:260 GET http://[dev url]/DependencyHandler.axd?s=L0FwcF9QbHVna…BlYWhlYWRMaXN0UGlja2VyRWRpdG9yQ29udHJvbGxlci5qcy5udTs&t=Javascript&cdv=235 load @ lazyload.js:260doc.js @ lazyload.js:386(anonymous function) @ Application?umb__rnd=af8b559cd:2 2DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnkubWluLmpzOy91bWJyYWNvL2xpYi9hbmd1bGFyLzE…:11 Error: Argument 'Imulus.ArchetypeController' is not a function, got undefined

    I guess I'll need to dig into archetype and see what's going on with that controller.

  • 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