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

          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]
          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.
          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

            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