Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    [OTTER 3.0] Adding dependencies in role break server access

    Scheduled Pinned Locked Moved Support
    3 Posts 2 Posters 6 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      philippe.camelio_3885
      last edited by

      Hi
      I found a bug in otter 3.0

      • Create a server SVRTEST
      • Create role ROLE1
      • Create role ROLE2 with dependancy to ROLE1
      • Assign role 2 to server

      Access to server is broken

      If dependancy is removed, access to server is OK

      Error Message

      URL: https://otter3.test.lan/servers/details?serverName=SVRTEST
      Referrer: https://otter3.test.lan/roles/role?serverRoleName=role2
      User: (unknown)
      User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36
      Stack trace: à Inedo.Otter.WebApplication.Pages.Servers.ConflatedStatus.<.ctor>g__getStatus|66_0(<>c__DisplayClass66_0& )
      à Inedo.Otter.WebApplication.Pages.Servers.ServerDetailsPage.CreateChildControls()
      à Inedo.Otter.WebApplication.Pages.OtterSimplePageBase.<InitializeAsync>d__7.MoveNext()
      --- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
      à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      à Inedo.Web.PageFree.SimplePageBase.<ExecutePageLifeCycleAsync>d__55.MoveNext()
      --- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
      à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      à Inedo.Web.PageFree.SimplePageBase.<ProcessRequestAsync>d__54.MoveNext()
      --- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
      à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      à System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar)
      à Inedo.Web.Handlers.AsyncHandlerWrapper.EndProcessRequest(IAsyncResult result)
      à System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
      à System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
      à System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
      
      1 Reply Last reply Reply Quote 0
      • stevedennisS Offline
        stevedennis inedo-engineer
        last edited by stevedennis

        Confirmed! Thanks for the report; there is a regression with displaying the status of dependent roles.

        I did a very quick code patch so the page wouldn't crash (don't display dependent roles on that page), but the real fix will come via OT-412 - we'll target it for the upcoming maintenance release, but this one might be a bit tricky b/c that particular code is a bit messy. We'll get it fixed.

        1 Reply Last reply Reply Quote 0
        • P Offline
          philippe.camelio_3885
          last edited by

          Thank you

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation