Category: Bugs

Patch for JavaScript errors from the nav bar in CRM 2015 with Update 0.2

With the CRM 2015 on-premise update 0.2, Microsoft have introduced a bug with the navigation bar at the top of the page. The steps to reproduce it are:

  1. Hover over the top-level node, e.g. Sales, to bring up the second level navigation.
  2. Within the second level navigation, click on the downward pointing chevron next to an item, for example “Contacts”, to reveal the third level navigation showing the recently viewed items.
  3. Select one of the recent items.
  4. After the page has loaded, repeat from step 1.

As soon as you open the nav bar the second time a JavaScript error will occur, causing the whole navigation bar to become stuck on the page.

I have managed to identify the problem and have developed a simple patch for the JavaScript file in question. Read More

Photo of the Chrome 38 bug Knowledge Base article

Patch for Chrome 38 lookup error in Dynamics CRM 2013

With huge thanks to Guido Preite’s blog post on the problem, I have developed a patch for this, and I thought I would share.

The crux of the problem is that the code is trying to access an element of an array, and Chrome 38’s JavaScript implementation provides this element already as a feature of the base language. The fix is to simply use the ‘hasOwnProperty’ method to check to see if the array element we are checking actually belongs the object, or is inherited from the prototype. Read More

Can’t browse media via the web interface when running TwonkyServer on port 80

You can’t browse media via the web interface if the Twonky Server, which usually runs on port 9000, is instead mapped to port 80. The view comes up empty, because the request fails due to some processing happening in the client JavaScript code. Read More