Uploaded image for project: 'New Features 2017'
  1. New Features 2017
  2. NF-567

TSR Integration : Server error gets displayed when "API Status Mapping page" URL is accessed at Global level by Partner/Company Admin/SA user.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: System Behaviour
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Integrations
    • Labels:
      None
    • Module:
      TSR
    • Reported by:
      Harbinger
    • Issue Importance:
      Q1

      Description

      Server error gets displayed when "API Status Mapping page" URL is accessed at Global level by Partner/Company Admin/SA user.

      Replication Steps:
      1. Login to Workterra
      2. Do not select any company
      3. Paste the URL to Access
      [Site URL]/Platform/Configuration/Configuration/APIStatusMapping
      4. Click Enter key.

      Expected Result:
      Server Error should not get displayed and API Status Mapping page should not be accessible at global level.

      Actual Result:
      Server error gets displayed when "API Status Mapping page" URL is accessed at Global level by Partner/Company Admin/SA user.

      Error Log
      Exception : Invalid object name `APIStatusTriggers`.
      App Error Log : ControllerAppTier.GetCollection->WORKTERRAControllerAppTier.GetData->APIStatusMappings.GetAPIStatusTrigger
      Employee ID : 0
      Action Name : GetAPIStatusMapping
      Model : System.Web.Mvc.HandleErrorInfo
      Controller : Configuration
      Web Error Log : at WORKTERRA.Shared.WORKTERRAControllerWebTier.GetCollection(ObjectType I_objectType, Hashtable I_criteria, String I_AdditionalCriteriaString, Object I_context, Boolean I_mode, Boolean I_needCollection) in d:\WT\branches\LB\Web\ControllerWebTier\ControllerWebTier\WORKTERRAControllerWebTier.cs:line 346
      at WORKTERRA.Shared.Areas.Configuration.Models.APIStatusMappingModel.GetAPIStatusMappingData() in d:\WT\branches\LB\Web\Web Projects\WORKTERRA\Areas\Configuration\Models\APIStatusMapping\APIStatusMappingModel.cs:line 45
      at WORKTERRA.Shared.Areas.Configuration.Controllers.ConfigurationController.GetAPIStatusMapping() in d:\WT\branches\LB\Web\Web Projects\WORKTERRA\Areas\Configuration\Controllers\APIStatusMapping\APIStatusMappingController.cs:line 30
      at lambda_method(Closure , ControllerBase , Object[] )
      at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
      at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
      at System.Web.Mvc.ControllerActionInvoker.<>c_DisplayClass15.<InvokeActionMethodWithFilters>b_12()
      at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
      at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
      at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
      at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

      cc: Saurabh Sablaka

        Attachments

          Issue Links

            Activity

            Hide
            ramya.tantry Ramya Tantry (Inactive) added a comment -

            Hi Prasad Pise,

            This page should be accessed only after selecting company as we are customizing the status trigger as per company.
            Since we have not exposed any Menu action for this page, you can hit the URL from Global level which results in above error.
            If any menu action would have been there ,you would have accessed this page only after selecting a company.

            Saurabh Sablaka: Please let me know your views on this.

            Show
            ramya.tantry Ramya Tantry (Inactive) added a comment - Hi Prasad Pise , This page should be accessed only after selecting company as we are customizing the status trigger as per company. Since we have not exposed any Menu action for this page, you can hit the URL from Global level which results in above error. If any menu action would have been there ,you would have accessed this page only after selecting a company. Saurabh Sablaka : Please let me know your views on this.
            Hide
            ramya.tantry Ramya Tantry (Inactive) added a comment -

            Hi Prasad Pise,

            As per discussion with Saurabh,rejecting this JIRA with resolution as System Behaviour.

            Show
            ramya.tantry Ramya Tantry (Inactive) added a comment - Hi Prasad Pise , As per discussion with Saurabh,rejecting this JIRA with resolution as System Behaviour.

              People

              Assignee:
              prasadp Prasad Pise (Inactive)
              Reporter:
              prasadp Prasad Pise (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0.5h
                  0.5h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h