Uploaded image for project: 'WORKTERRA'
  1. WORKTERRA
  2. WT-12386

Clone company - employee delete error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Bug Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Platform
    • Labels:
      None
    • Environment:
      Stage
    • Bug Severity:
      Medium
    • Module:
      BenAdmin - EDS
    • Reported by:
      Harbinger
    • Company:
      All Clients/Multiple Clients
    • Item State:
      Development - Ready for Local Testing

      Description

      While cloning any company on stage, below exception is getting thrown,

      ErrorID : 0
      ErrorSource : ControllerAppTier.Clone->WORKTERRAControllerAppTier.Clone->Company.Clone->Company.CloneCompany->Company.DeleteEmployeeDetails
      ErrorMessage: The DELETE statement conflicted with the REFERENCE constraint "FK_pm.RaisedEventBuilder_dbo.Employee_ID". The conflict occurred in database "BioRadEDIDataLoadTesting_13705", table "dbo.RaisedEventBuilder", column 'EmployeeID'.
      The DELETE statement conflicted with the REFERENCE constraint "FK_pm.RaisedEventBuilder_dbo.Employee_ID". The conflict occurred in database "BioRadEDIDataLoadTesting_13705", table "dbo.RaisedEventBuilder", column 'EmployeeID'.
      The statement has been terminated.
      The statement has been terminated.
      DBCC execution completed. If DBCC printed error messages, contact your system administrator.
      Checking identity information: current identity value '85', current column value '0'.
      DBCC execution completed. If DBCC printed error messages, contact your system administrator.
      Checking identity information: current identity value 'NULL', current column value '0'.
      DBCC execution completed. If DBCC printed error messages, contact your system administrator.
      Checking identity information: current identity value '53', current column value '0'.
      DBCC execution completed. If DBCC printed error messages, contact your system administrator.
      Checking identity information: current identity value '10', current column value '0'.
      DBCC execution completed. If DBCC printed error messages, contact your system administrator.
      Checking identity information: current identity value '121', current column value '0'.
      DBCC execution completed. If DBCC printed error messages, contact your system administrator.
      Checking identity information: current identity value '19', current column value '0'.
      StackTrace: at WORKTERRA.Shared.WORKTERRAControllerAppTier.Clone(WORKTERRAControllerWebTierEntity objWORKTERRAControllerWebTierEntity)
      at WORKTERRA.ControllerAppTier.Clone(Int32 intProjectsId, String strInput)
      TargetSite: System.String Clone(WORKTERRA.Shared.WORKTERRAControllerWebTierEntity)

        Attachments

          Activity

            People

            Assignee:
            sachin.hingole Sachin Hingole (Inactive)
            Reporter:
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 6h Original Estimate - 6h
                6h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 9.5h
                9.5h