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

            prasadp Prasad Pise (Inactive) created issue -
            prasadp Prasad Pise (Inactive) made changes -
            Field Original Value New Value
            Link This issue relates to NF-409 [ NF-409 ]
            prasadp Prasad Pise (Inactive) made changes -
            Issue Importance Q1 [ 14900 ]
            prasadp Prasad Pise (Inactive) made changes -
            Summary Server error gets displayed when "API Status Mapping page" URL is accessed at Global level by Partner/Company Admin/SA user. TSR Integration : Server error gets displayed when "API Status Mapping page" URL is accessed at Global level by Partner/Company Admin/SA user.
            prasadp Prasad Pise (Inactive) logged work - 18/Mar/17 06:06 PM
            • Time Spent:
              0.25h
               

              Internal Discussion about issue

            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.
            ramya.tantry Ramya Tantry (Inactive) made changes -
            Status Open [ 1 ] In Development [ 10007 ]
            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.
            ramya.tantry Ramya Tantry (Inactive) made changes -
            Assignee Ramya Tantry [ ramya.tantry ] Prasad Pise [ prasadp ]
            Resolution System Behaviour [ 10100 ]
            Status In Development [ 10007 ] Rejected [ 10004 ]
            prasadp Prasad Pise (Inactive) made changes -
            Remaining Estimate 0.5h [ 1800 ]
            Original Estimate 0.5h [ 1800 ]
            prasadp Prasad Pise (Inactive) made changes -
            Remaining Estimate 0.5h [ 1800 ] 0.25h [ 900 ]
            Time Spent 0.25h [ 900 ]
            Worklog Id 32232 [ 32232 ]
            ramya.tantry Ramya Tantry (Inactive) logged work - 20/Mar/17 03:49 PM
            • Time Spent:
              0.25h
               

              Analysis and draft reply for QA query

            ramya.tantry Ramya Tantry (Inactive) made changes -
            Remaining Estimate 0.25h [ 900 ] 0h [ 0 ]
            Time Spent 0.25h [ 900 ] 0.5h [ 1800 ]
            Worklog Id 32438 [ 32438 ]
            rakeshr Rakesh Roy (Inactive) made changes -
            Status Rejected [ 10004 ] Closed [ 6 ]
            Transition Time In Source Status Execution Times
            Ramya Tantry (Inactive) made transition -
            Open In Development
            1d 16h 41m 1
            Ramya Tantry (Inactive) made transition -
            In Development Rejected
            1m 47s 1
            Rakesh Roy (Inactive) made transition -
            Rejected Closed
            15d 19m 1

              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