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

          Shamooka.Mohapatra Shamooka Mohapatra (Inactive) created issue -
          Shamooka.Mohapatra Shamooka Mohapatra (Inactive) made changes -
          Field Original Value New Value
          Fix Version/s Winter 2020 Enhancements [ 11314 ]
          Priority Medium [ 3 ] High [ 2 ]
          narendra.kumar Narendra Kumar made changes -
          Sprint Winter-2020 Sprint 5 [ 189 ]
          Remaining Estimate 8h [ 28800 ]
          Original Estimate 8h [ 28800 ]
          narendra.kumar Narendra Kumar made changes -
          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 do exists 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.
          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.
          narendra.kumar Narendra Kumar made changes -
          Fix Version/s Winter 2020 CBAT Integration [ 11316 ]
          Fix Version/s Winter 2020 Enhancements [ 11314 ]
          shashikant.mishra ShashiKant Mishra (Inactive) made changes -
          Sprint Winter-2020 Sprint 5 [ 189 ] Winter-2020 Sprint 5, Winter-2020 Sprint 6 [ 189, 190 ]
          shashikant.mishra ShashiKant Mishra (Inactive) made changes -
          Sprint Winter-2020 Sprint 5, Winter-2020 Sprint 6 [ 189, 190 ] Winter-2020 Sprint 5, Winter-2020 Sprint 6, Winter-2020 Sprint 7 [ 189, 190, 193 ]
          narendra.kumar Narendra Kumar made changes -
          Sprint Winter-2020 Sprint 5, Winter-2020 Sprint 6, Winter-2020 Sprint 7 [ 189, 190, 193 ] Winter-2020 Sprint 5, Winter-2020 Sprint 6, Winter-2020 Sprint 7, Winter-2020 Sprint 8 [ 189, 190, 193, 197 ]
          narendra.kumar Narendra Kumar made changes -
          Sprint Winter-2020 Sprint 5, Winter-2020 Sprint 6, Winter-2020 Sprint 7, Winter-2020 Sprint 8 [ 189, 190, 193, 197 ] Winter-2020 Sprint 5, Winter-2020 Sprint 6, Winter-2020 Sprint 7, Winter-2020 Sprint 8, Winter-2020 Sprint 9 [ 189, 190, 193, 197, 198 ]
          samir Samir made changes -
          Assignee Samir [ samir ] Narendra Kumar [ narendra.kumar ]
          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?
          narendra.kumar Narendra Kumar made changes -
          Assignee Narendra Kumar [ narendra.kumar ] Shamooka Mohapatra [ shamooka.mohapatra ]
          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
          narendra.kumar Narendra Kumar made changes -
          Assignee Shamooka Mohapatra [ shamooka.mohapatra ] Nalin.Bhayana [ nalinb ]
          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 .
          NalinB Nalin.Bhayana (Inactive) made changes -
          Status To Do [ 10000 ] In Progress [ 3 ]
          NalinB Nalin.Bhayana (Inactive) made changes -
          Attachment image-2020-02-18-15-00-43-268.png [ 135090 ]
          NalinB Nalin.Bhayana (Inactive) made changes -
          Attachment image-2020-02-18-15-02-36-077.png [ 135091 ]
          NalinB Nalin.Bhayana (Inactive) logged work - 18/Feb/20 01:35 AM
          • Time Spent:
            6h
             
            <No comment>
          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  
          NalinB Nalin.Bhayana (Inactive) made changes -
          Remaining Estimate 8h [ 28800 ] 2h [ 7200 ]
          Time Spent 6h [ 21600 ]
          Worklog Id 227866 [ 227866 ]
          narendra.kumar Narendra Kumar made changes -
          Sprint Winter-2020 Sprint 5, Winter-2020 Sprint 6, Winter-2020 Sprint 7, Winter-2020 Sprint 8, Spring-2020 - Sprint 2 [ 189, 190, 193, 197, 198 ] Winter-2020 Sprint 5, Winter-2020 Sprint 6, Winter-2020 Sprint 7, Winter-2020 Sprint 8, Spring-2020 - Sprint 2, Spring-2020 - Sprint 3 [ 189, 190, 193, 197, 198, 199 ]
          narendra.kumar Narendra Kumar made changes -
          Sprint Winter-2020 Sprint 5, Winter-2020 Sprint 6, Winter-2020 Sprint 7, Winter-2020 Sprint 8, Spring-2020 - Sprint 2, Spring-2020 - Sprint 3 [ 189, 190, 193, 197, 198, 199 ] Winter-2020 Sprint 5, Winter-2020 Sprint 6, Winter-2020 Sprint 7, Winter-2020 Sprint 8, Spring-2020 - Sprint 2, Spring-2020 - Sprint 3, Spring-2020 - Sprint 4 [ 189, 190, 193, 197, 198, 199, 200 ]
          NalinB Nalin.Bhayana (Inactive) made changes -
          Status In Progress [ 3 ] To Do [ 10000 ]
          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.
          narendra.kumar Narendra Kumar made changes -
          Assignee Nalin.Bhayana [ nalinb ] Narendra Kumar [ narendra.kumar ]
          narendra.kumar Narendra Kumar made changes -
          Sprint Winter-2020 Sprint 5, Winter-2020 Sprint 6, Winter-2020 Sprint 7, Winter-2020 Sprint 8, Spring-2020 - Sprint 2, Spring-2020 - Sprint 3, Spring-2020 - Sprint 4 [ 189, 190, 193, 197, 198, 199, 200 ] Winter-2020 Sprint 5, Winter-2020 Sprint 6, Winter-2020 Sprint 7, Winter-2020 Sprint 8, Spring-2020 - Sprint 2, Spring-2020 - Sprint 3, Spring-2020 - Sprint 4, Spring-2020 - Sprint 5 [ 189, 190, 193, 197, 198, 199, 200, 202 ]
          narendra.kumar Narendra Kumar made changes -
          Sprint Winter-2020 Sprint 5, Winter-2020 Sprint 6, Winter-2020 Sprint 7, Winter-2020 Sprint 8, Spring-2020 - Sprint 2, Spring-2020 - Sprint 3, Spring-2020 - Sprint 4, Spring-2020 - Sprint 5 [ 189, 190, 193, 197, 198, 199, 200, 202 ] Winter-2020 Sprint 5, Winter-2020 Sprint 6, Winter-2020 Sprint 7, Winter-2020 Sprint 8, Spring-2020 - Sprint 2, Spring-2020 - Sprint 3, Spring-2020 - Sprint 4, Spring-2020 - Sprint 5, Spring-2020 - Sprint 6 [ 189, 190, 193, 197, 198, 199, 200, 202, 203 ]
          Transition Time In Source Status Execution Times
          Nalin.Bhayana (Inactive) made transition -
          To Do In Progress
          84d 18h 1m 1
          Nalin.Bhayana (Inactive) made transition -
          In Progress To Do
          23d 23h 28m 1

            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