Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Integration with CBAT
    • Labels:
      None

      Description

      Error while sync fields into DMS.

      {
      "status": "error",
      "message": "The instance of entity type 'Sourcesystemfieldlabel' cannot be tracked because another instance with the same key value for

      {'Id'} is already being tracked. When attaching existing entities, ensure that only one entity instance with a given key value is attached. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the conflicting key values.",
      "errorLevel1": "Error",
      "code": 500,
      "description": "The instance of entity type 'Sourcesystemfieldlabel' cannot be tracked because another instance with the same key value for {'Id'}

      is already being tracked. When attaching existing entities, ensure that only one entity instance with a given key value is attached. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the conflicting key values."
      }

        Attachments

          Activity

          rohan.khandave Rohan J Khandave (Inactive) created issue -
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Field Original Value New Value
          Epic Link DMS-473 [ 75966 ]
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Status To Do [ 10000 ] In Progress [ 3 ]
          Hide
          rohan.khandave Rohan J Khandave (Inactive) added a comment -

          Below is issue details.

          Concern: Error in manageCustomFields API.

          Cause: Due to duplicate data into system which creates an issue while adding data into system.

          Correction: We have corrected data and also handle this scenario in code.

          Show
          rohan.khandave Rohan J Khandave (Inactive) added a comment - Below is issue details. Concern: Error in manageCustomFields API. Cause: Due to duplicate data into system which creates an issue while adding data into system. Correction: We have corrected data and also handle this scenario in code.
          Hide
          rohan.khandave Rohan J Khandave (Inactive) added a comment -

          As per discussion with Samir ,

          We have removed data validation for CBATS client for create & Custom Create API.

          Below fields are having validation for other clients (SMB).

          Country
          Payschedule [monday, tuesday, wednesday, thursday, friday, weekly, two weeks, fifteenth and last day, monthly]
          Wageschedule [annual, monthly, semi-monthly, weekly, hourly]
          EmploymentType / Job Category [ETFE,ETPE,ETTS,ETIN,ETCT]

          Show
          rohan.khandave Rohan J Khandave (Inactive) added a comment - As per discussion with Samir , We have removed data validation for CBATS client for create & Custom Create API. Below fields are having validation for other clients (SMB). Country Payschedule [monday, tuesday, wednesday, thursday, friday, weekly, two weeks, fifteenth and last day, monthly] Wageschedule [annual, monthly, semi-monthly, weekly, hourly] EmploymentType / Job Category [ETFE,ETPE,ETTS,ETIN,ETCT]
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Status In Progress [ 3 ] Code Review [ 11801 ]
          rohan.khandave Rohan J Khandave (Inactive) logged work - 22/Jul/19 06:57 AM
          • Time Spent:
            5.5h
             

            Analysis 

            Coding 

            Scrip for Duplicate data

          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Remaining Estimate 0h [ 0 ]
          Time Spent 5.5h [ 19800 ]
          Worklog Id 190492 [ 190492 ]
          priya.dhamande Priya Dhamande (Inactive) logged work - 22/Jul/19 10:12 PM
          • Time Spent:
            1h
             

            Preprod Testing
            Production testing

          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Status Code Review [ 11801 ] In QA Testing [ 11901 ]
          Hide
          rohan.khandave Rohan J Khandave (Inactive) added a comment -

          This is deployed , please check.

          Show
          rohan.khandave Rohan J Khandave (Inactive) added a comment - This is deployed , please check.
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Assignee Rohan J Khandave [ rohan.khandave ] Priya Dhamande [ priya.dhamande ]
          Hide
          priya.dhamande Priya Dhamande (Inactive) added a comment -

          Environment: Production OneIM
          API: api/candidate/custom/document/create
          No validation for Payschedule, Wageschedule or Wageschedule

          Able to run API even after not adding specific values.

          Refer screen capture. So, marking this done.

          Sachin Hingole Hrishikesh Deshpande Rohan J Khandave Samir

          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - Environment: Production OneIM API: api/candidate/custom/document/create No validation for Payschedule, Wageschedule or Wageschedule Able to run API even after not adding specific values. Refer screen capture. So, marking this done. Sachin Hingole Hrishikesh Deshpande Rohan J Khandave Samir
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Attachment Screenshot (3395).png [ 114278 ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Resolution Done [ 10000 ]
          Status In QA Testing [ 11901 ] Done [ 10001 ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Time Spent 5.5h [ 19800 ] 6.5h [ 23400 ]
          Worklog Id 190918 [ 190918 ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Assignee Priya Dhamande [ priya.dhamande ] Rohan J Khandave [ rohan.khandave ]
          Transition Time In Source Status Execution Times
          Rohan J Khandave (Inactive) made transition -
          To Do In Progress
          8s 1
          Rohan J Khandave (Inactive) made transition -
          In Progress Code Review
          1h 42m 1
          Rohan J Khandave (Inactive) made transition -
          Code Review In QA Testing
          15h 50m 1
          Priya Dhamande (Inactive) made transition -
          In QA Testing Done
          23h 28m 1

            People

            Assignee:
            rohan.khandave Rohan J Khandave (Inactive)
            Reporter:
            rohan.khandave Rohan J Khandave (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 6.5h
                6.5h