Copied to clipboard

Flag this post as spam?

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


  • Wiebe Tijsma 16 posts 92 karma points
    Apr 06, 2014 @ 23:39
    Wiebe Tijsma
    0

    Error on creating new relation type

    Hi,

    I just set up umbraco 7.1, but I'm getting a javascript error on trying to create a new relation type:

    "Error: actionNewRelationType is not defined
    @http://localhost/Airlink.Web.Umbraco/umbraco/js/umbraco.services.js:3869
    navigationService/service.executeMenuAction@http://localhost/Airlink.Web.Umbraco/umbraco/js/umbraco.services.js:3869
    .link/scope.executeMenuItem@http://localhost/Airlink.Web.Umbraco/umbraco/js/umbraco.directives.js:1261
    Rc/s/<@http://localhost/Airlink.Web.Umbraco/umbraco/lib/angular/1.1.5/angular.min.js:74
    @http://localhost/Airlink.Web.Umbraco/umbraco/lib/angular/1.1.5/angular-mobile.js:270
    Xc/this.$get</e.prototype.$eval@http://localhost/Airlink.Web.Umbraco/umbraco/lib/angular/1.1.5/angular.min.js:92
    Xc/this.$get</e.prototype.$apply@http://localhost/Airlink.Web.Umbraco/umbraco/lib/angular/1.1.5/angular.min.js:92
    @http://localhost/Airlink.Web.Umbraco/umbraco/lib/angular/1.1.5/angular-mobile.js:269
    x.event.dispatch@http://localhost/Airlink.Web.Umbraco/umbraco/lib/jquery/jquery-2.0.3.min.js:10
    x.event.add/y.handle@http://localhost/Airlink.Web.Umbraco/umbraco/lib/jquery/jquery-2.0.3.min.js:10
    "

    Any ideas what might be going wrong there, did I set up something wrong?

    Thanks,

    Wiebe

     

  • Wiebe Tijsma 16 posts 92 karma points
    Apr 07, 2014 @ 14:09
    Wiebe Tijsma
    0

    When I profile the files fetched when starting the umbraco admin, this file fails to load with a 404:

    /developer/RelationTypes/TreeMenu/ActionNewRelationType.js?

    Now I'm running onder a virtual directory and this is the only file that seems to be loaded from an absolute root path, could this be a bug or is the path for this file resolved diffent than other files, so it's something in my setup that's broken?

    I tried running under a dedicated IIS application as well, when I create a separate IIS application (with the same application pool) the application pool just crashes immediately and returns a 'Service Unavailable', is this a known issue?

    Thanks,

    Wiebe

     

  • Wiebe Tijsma 16 posts 92 karma points
    Apr 07, 2014 @ 14:16
    Wiebe Tijsma
    0

    Ok I just got it working under a root application under IIS, so please disregard that comment.

    Additionally, when not running under a virtual directory, creating a new relation type does actually work, so it does only occur when running under a virtual directory.

    Thanks,

    Wiebe

Please Sign in or register to post replies

Write your reply to:

Draft