Copied to clipboard

Flag this post as spam?

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

  • Rob Watkins 339 posts 587 karma points
    1 week ago
    Rob Watkins

    Going through various upgrade steps for the DB of old 6.1.5 site to the latest version; kept hitting the same Angular problem on 7.x:

    Error: [$compile:multidir] Multiple directives [ngSwitchDefault, ngInclude] asking for transclusion on: <div ng-switch-default="" ng-include="installer.current.view">

    The only way I could fix this was to change line 38 in `umbraco/install/views' from:

    <div ng-switch-default ng-include="installer.current.view"></div>


    <div ng-switch-default><div ng-include="installer.current.view"></div></div>

    The upgrade was simply an completely fresh download of the 7.1.4 version (tried a couple of 7.x and they all did the same) in an empty folder, point at old database and run, so it was not old views being left around.

    With the modified index.html the upgrade ran perfectly.

    What's going on here? The installer home page should presumably not fail with an Angular error straight out of the box!

Please Sign in or register to post replies

Write your reply to: