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

Unable to send/preview Adhoc documents to a Candidate

    Details

    • Type: Bug
    • Status: To Do
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Labels:
      None
    • Company:
      All Clients/Multiple Clients

      Description

      The preview is blank for the template id 876

      The API response is

      { "docTemplateIds": "No valid document template found for provided form alias/template ids.", "invalidTemplate": "Document template not found for provided form alias/template ids." }

      But the template does exist in DMS.

      The create document API is not returning any error message and providing a success response.

      But the latest status API is not returning the data.

        Attachments

          Activity

          Hide
          narendra.kumar Narendra Kumar added a comment -

          Hi Shamooka Mohapatra

          Can you please test it again and let me know if this issue still exists?

          Show
          narendra.kumar Narendra Kumar added a comment - Hi Shamooka Mohapatra Can you please test it again and let me know if this issue still exists?
          Hide
          Shamooka.Mohapatra Shamooka Mohapatra (Inactive) added a comment -

          Hello Narendra Kumar,
          Currently the preview is not working. Please check.

          Thanks!
          cc: Amrendra Kumar

          Show
          Shamooka.Mohapatra Shamooka Mohapatra (Inactive) added a comment - Hello Narendra Kumar , Currently the preview is not working. Please check. Thanks! cc: Amrendra Kumar
          Hide
          narendra.kumar Narendra Kumar added a comment -

          Hi Nalin.Bhayana

          Please check this. If needed discuss with Shamooka Mohapatra.

          Show
          narendra.kumar Narendra Kumar added a comment - Hi Nalin.Bhayana Please check this. If needed discuss with Shamooka Mohapatra .
          Hide
          NalinB Nalin.Bhayana (Inactive) added a comment -

          Hi Narendra Kumar

          I did debug the code for create document API i.e. /api/document/. This API does not check if the template file exists on File Server or not, it only checks for valid DB entry for the given template id with IsDeleted flag as false. If there is valid entry in DB for template, it creates corresponding DB entries for document.

          Similarly, the lateststatus API also checks for only DB entries and returns the data. When the URL to document in the received response is opened via browser, then it gives error "File Not Found".

           

          Below screenshots are for a document with template id 876.

           

          CC: Harshveer Singh Samir Shamooka Mohapatra 

          Show
          NalinB Nalin.Bhayana (Inactive) added a comment - Hi Narendra Kumar I did debug the code for create document API i.e. /api/document/. This API does not check if the template file exists on File Server or not, it only checks for valid DB entry for the given template id with IsDeleted flag as false. If there is valid entry in DB for template, it creates corresponding DB entries for document. Similarly, the lateststatus API also checks for only DB entries and returns the data. When the URL to document in the received response is opened via browser, then it gives error "File Not Found".   Below screenshots are for a document with template id 876.   CC: Harshveer Singh   Samir Shamooka Mohapatra  
          Hide
          narendra.kumar Narendra Kumar added a comment -

          Hi Nalin.Bhayana

          Try it on the DMS Production environment. It will not work on CBES environment.

          Show
          narendra.kumar Narendra Kumar added a comment - Hi Nalin.Bhayana Try it on the DMS Production environment. It will not work on CBES environment.

            People

            Assignee:
            narendra.kumar Narendra Kumar
            Reporter:
            Shamooka.Mohapatra Shamooka Mohapatra (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Time Tracking

                Estimated:
                Original Estimate - 8h
                8h
                Remaining:
                Time Spent - 6h Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - 6h Remaining Estimate - 2h
                6h