Uploaded image for project: 'Document Management System'
  1. Document Management System
  2. DMS-1937

DMS | API | Custom candidate create | throwing error for new candidate

    Details

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

      Description

      Environment: Production
      API: api/candidate/custom/document/create
      Send document: 3

      For new candidate

      Refer screen capture.
      Samir

        Attachments

        1. Screenshot (4899).png
          Screenshot (4899).png
          160 kB
        2. Screenshot (4961).png
          Screenshot (4961).png
          153 kB
        3. Screenshot (4991).png
          Screenshot (4991).png
          172 kB
        4. Screenshot (4992).png
          Screenshot (4992).png
          150 kB
        5. Screenshot (5028).png
          Screenshot (5028).png
          238 kB
        6. Screenshot (657).png
          Screenshot (657).png
          153 kB
        7. Screenshot (658).png
          Screenshot (658).png
          161 kB

          Activity

          Hide
          rohan.khandave Rohan J Khandave (Inactive) added a comment -

          Below are 3C's

          Concern: System can not fetch sign details error coming when opens link created by create custom api with send document = 3.

          Cause: This issue is for new candidates. In create custom api system adds new candidate if not exists. Due to that zero added into cache. When system try to get candidate from mail address get zero. Document saved with zero candidate id. Due to that while fetching signature details system throwing an error.

          Correction: We have handled this scenario in code.

          CC – Samir

          Show
          rohan.khandave Rohan J Khandave (Inactive) added a comment - Below are 3C's Concern: System can not fetch sign details error coming when opens link created by create custom api with send document = 3. Cause: This issue is for new candidates. In create custom api system adds new candidate if not exists. Due to that zero added into cache. When system try to get candidate from mail address get zero. Document saved with zero candidate id. Due to that while fetching signature details system throwing an error. Correction: We have handled this scenario in code. CC – Samir
          Hide
          jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

          Verified on Preproduction
          Verified document Link through API
          Verified Custom document create API.
          Now we are able to create Custom document API.

          PFA :

          Hence closing this ticket

          Thanks
          Jayshree

          Hrishikesh Deshpande Sachin Hingole Priya Dhamande

          Show
          jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - Verified on Preproduction Verified document Link through API Verified Custom document create API. Now we are able to create Custom document API. PFA : Hence closing this ticket Thanks Jayshree Hrishikesh Deshpande Sachin Hingole Priya Dhamande
          Hide
          priya.dhamande Priya Dhamande (Inactive) added a comment - - edited

          Environment: Production
          API: api/candidate/custom/document/create
          Send document: 3

          When Cache is ON, getting issue. So, reopening jira for the same.

          Refer screen capture.

          Samir Rohan J Khandave

          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - - edited Environment: Production API: api/candidate/custom/document/create Send document: 3 When Cache is ON, getting issue. So, reopening jira for the same. Refer screen capture. Samir Rohan J Khandave
          Hide
          rohan.khandave Rohan J Khandave (Inactive) added a comment -

          Below are 3C's

          Concern: Cache key is not getting removed.

          Cause: There issue with config key. We have provided proper key.

          Correction: There issue with config key. We have provided proper key.

          Show
          rohan.khandave Rohan J Khandave (Inactive) added a comment - Below are 3C's Concern: Cache key is not getting removed. Cause: There issue with config key. We have provided proper key. Correction: There issue with config key. We have provided proper key.
          Hide
          priya.dhamande Priya Dhamande (Inactive) added a comment -

          Environment: Preprod
          API: api/candidate/custom/document/create
          Send document: 3
          Cache is ON

          Points verified:
          1. Able to run API successful
          2. Link generated
          3. Able to open link
          4. Able to Save changes for new user
          5. Able to Save changes for existing user

          Refer screen capture. So, marking jira done on Preprod.

          Rohan J Khandave Samir Hrishikesh Deshpande Sachin Hingole

          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - Environment: Preprod API: api/candidate/custom/document/create Send document: 3 Cache is ON Points verified: 1. Able to run API successful 2. Link generated 3. Able to open link 4. Able to Save changes for new user 5. Able to Save changes for existing user Refer screen capture. So, marking jira done on Preprod. Rohan J Khandave Samir Hrishikesh Deshpande Sachin Hingole
          Hide
          priya.dhamande Priya Dhamande (Inactive) added a comment -

          Environment: Production
          API: api/candidate/custom/document/create
          Send document: 3
          Cache is ON

          Points verified:
          1. Able to run API successful
          2. Link generated
          3. Able to open link
          4. Able to Save changes for new user
          5. Able to Save changes for existing user

          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - Environment: Production API: api/candidate/custom/document/create Send document: 3 Cache is ON Points verified: 1. Able to run API successful 2. Link generated 3. Able to open link 4. Able to Save changes for new user 5. Able to Save changes for existing user

            People

            Assignee:
            rohan.khandave Rohan J Khandave (Inactive)
            Reporter:
            priya.dhamande Priya Dhamande (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:
                Time Spent - 5.5h Remaining Estimate - 0.25h
                0.25h
                Logged:
                Time Spent - 5.5h Remaining Estimate - 0.25h
                5.5h