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

Template Library | Edit template showing error in console when duplicate template is present

    Details

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

      Description

      Replication Steps :

      1) Open the dashboard
      2) Click on create template
      3) Create the template
      4) Traverse to template library via dashboard
      5) Edit the with existing template name(template name which is already in template).
      6)Click on update template
      7)Template is not updated ans showing error in console
      PFA

      Expected Result :If template is already present then while editing the template with same name system should show error message "Template name already exists"

        Attachments

        1. DMS-278.jpg
          DMS-278.jpg
          266 kB
        2. DMS-278.jpg
          DMS-278.jpg
          340 kB
        3. DMS-278Fix.jpg
          DMS-278Fix.jpg
          178 kB
        4. DMS-278Update.jpg
          DMS-278Update.jpg
          178 kB
        5. image-2018-12-27-15-04-15-163.png
          image-2018-12-27-15-04-15-163.png
          136 kB
        6. Screen Shot 2019-01-09 at 11.52.48 AM.png
          Screen Shot 2019-01-09 at 11.52.48 AM.png
          207 kB
        7. Update2.jpg
          Update2.jpg
          166 kB

          Issue Links

            Activity

            jayshree.nagpure Jayshree Nagpure (Inactive) created issue -
            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Field Original Value New Value
            Link This issue relates to DMS-256 [ DMS-256 ]
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

            Same issue exists for create template

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - Same issue exists for create template
            swapnil.pandhare Swapnil Pandhare (Inactive) made changes -
            Assignee Swapnil Pandhare [ swapnil.pandhare ] Ramya Tantry [ ramya.tantry ]
            ramya.tantry Ramya Tantry (Inactive) made changes -
            Dev Estimates 5
            Remaining Estimate 5h [ 18000 ]
            Original Estimate 5h [ 18000 ]
            swapnil.pandhare Swapnil Pandhare (Inactive) made changes -
            Sprint DMS - Sprint 6 [ 134 ]
            Hide
            ramya.tantry Ramya Tantry (Inactive) added a comment -

            As per discussion with Swapnil, assigning this to Narendra

            Show
            ramya.tantry Ramya Tantry (Inactive) added a comment - As per discussion with Swapnil, assigning this to Narendra
            ramya.tantry Ramya Tantry (Inactive) made changes -
            Assignee Ramya Tantry [ ramya.tantry ] Narendra Kumar [ narendra.kumar ]
            narendra.kumar Narendra Kumar made changes -
            Status To Do [ 10000 ] In Progress [ 3 ]
            narendra.kumar Narendra Kumar made changes -
            Attachment image-2018-12-27-15-04-15-163.png [ 93480 ]
            Hide
            narendra.kumar Narendra Kumar added a comment -

            Hi Jayshree Nagpure,

            I'm not able to reproduce this issue. I did the same steps but at my side at the time of update template its working fine. See the image below

             

            Thanks

            Narendra Kumar

            Show
            narendra.kumar Narendra Kumar added a comment - Hi Jayshree Nagpure , I'm not able to reproduce this issue. I did the same steps but at my side at the time of update template its working fine. See the image below   Thanks Narendra Kumar
            narendra.kumar Narendra Kumar made changes -
            Status In Progress [ 3 ] Code Review [ 11801 ]
            Hide
            narendra.kumar Narendra Kumar added a comment -

            Hi Jayshree Nagpure

            The issue has been fixed, Please check.

            Swapnil Pandhare, I have created the pull request for the same task.

             

            Thanks

            Narendra Kumar

            Show
            narendra.kumar Narendra Kumar added a comment - Hi Jayshree Nagpure The issue has been fixed, Please check. Swapnil Pandhare , I have created the pull request for the same task.   Thanks Narendra Kumar
            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Attachment DMS-278.jpg [ 94065 ]
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - - edited

            Same issue exists for Create Document template.
            PFA -

            cc - Priya Dhamande Swapnil Pandhare Samir

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - - edited Same issue exists for Create Document template. PFA - cc - Priya Dhamande Swapnil Pandhare Samir
            swapnil.pandhare Swapnil Pandhare (Inactive) made changes -
            Status Code Review [ 11801 ] In QA Testing [ 11901 ]
            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Assignee Narendra Kumar [ narendra.kumar ] Jayshree Nagpure [ jayshree.nagpure ]
            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Attachment DMS-278.jpg [ 94240 ]
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

            Hi Narendra Kumar

            Verified this on preproduction.
            We are still facing this issue
            PFA -

            Re-opening this ticket

            Thanks,
            Jayshree

            cc - Priya Dhamande Hrishikesh Deshpande

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - Hi Narendra Kumar Verified this on preproduction. We are still facing this issue PFA - Re-opening this ticket Thanks, Jayshree cc - Priya Dhamande Hrishikesh Deshpande
            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Status In QA Testing [ 11901 ] In Progress [ 3 ]
            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Assignee Jayshree Nagpure [ jayshree.nagpure ] Narendra Kumar [ narendra.kumar ]
            jayshree.nagpure Jayshree Nagpure (Inactive) logged work - 07/Jan/19 03:30 AM
            • Time Spent:
              0.5h
               

              Testing

            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Remaining Estimate 5h [ 18000 ] 4.5h [ 16200 ]
            Time Spent 0.5h [ 1800 ]
            Worklog Id 154100 [ 154100 ]
            swapnil.pandhare Swapnil Pandhare (Inactive) made changes -
            Sprint DMS - Sprint 6 [ 134 ] DMS - Sprint 7 [ 148 ]
            narendra.kumar Narendra Kumar made changes -
            Description *Replication Steps* :

            1) Open the dashboard
            2) Click on create template
            3) Create the template
            4) Traverse to template library via dashboard
            5) Edit the with existing template name(template name which is already in template).
            6)Click on update template
            7)Template is not updated ans showing error in console
            PFA

            *Expected Result* :If template is already present then while editing the template with same name system should show error message "Template name already exists"
            *Replication Steps* :

            1) Open the dashboard
            2) Click on create template
            3) Create the template
            4) Traverse to template library via dashboard
            5) Edit the with existing template name(template name which is already in template).
            6)Click on update template
            7)Template is not updated ans showing error in console
            PFA

            *Expected Result* :If template is already present then while editing the template with same name system should show error message "Template name already exists"
            Hide
            narendra.kumar Narendra Kumar added a comment -

            Hi Jayshree Nagpure,

            Here you are creating the template, not updating it. Previously It was on update template issue. And also, in create the template you will get an error if the error comes from the server side.

            Please check and let me know.

            cc - Priya Dhamande

            Thanks 

            Show
            narendra.kumar Narendra Kumar added a comment - Hi Jayshree Nagpure , Here you are creating the template, not updating it. Previously It was on update template issue. And also, in create the template you will get an error if the error comes from the server side. Please check and let me know. cc - Priya Dhamande Thanks 
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

            Hi Narendra Kumar,

            We need to implement this change for both creating the template and editing the template page.

            Please let me know if more details required.

            Thanks,
            Jayshree

            cc - Priya Dhamande Hrishikesh Deshpande

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - Hi Narendra Kumar , We need to implement this change for both creating the template and editing the template page. Please let me know if more details required. Thanks, Jayshree cc - Priya Dhamande Hrishikesh Deshpande
            Hide
            narendra.kumar Narendra Kumar added a comment - - edited

            Hi Jayshree Nagpure

            I just tested it over the same url which you are using. And its working fine. Either let me know the steps to reproduce this scenario or recheck it.

             

             

             

            cc - Priya Dhamande

             

            Thanks 

            Narendra

            Show
            narendra.kumar Narendra Kumar added a comment - - edited Hi Jayshree Nagpure I just tested it over the same url which you are using. And its working fine. Either let me know the steps to reproduce this scenario or recheck it.       cc - Priya Dhamande   Thanks  Narendra
            narendra.kumar Narendra Kumar made changes -
            narendra.kumar Narendra Kumar made changes -
            Assignee Narendra Kumar [ narendra.kumar ] Jayshree Nagpure [ jayshree.nagpure ]
            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Status In Progress [ 3 ] In QA Testing [ 11901 ]
            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Attachment DMS-278Fix.jpg [ 94777 ]
            Attachment DMS-278Update.jpg [ 94778 ]
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

            Hi Narendra Kumar,

            We have verified this on preproduction.
            Verified this for New template with duplicate name
            Verified for Existing template with Duplicate name
            Application is now showing validation "Document with this name already exists. Please enter different one."
            Refer attached screencapture

            Currently issue is resolved.
            Closing this ticket.

            Thanks,
            Jayshree

            cc -Priya Dhamande Hrishikesh Deshpande Satya Samir Swapnil Pandhare

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - Hi Narendra Kumar , We have verified this on preproduction. Verified this for New template with duplicate name Verified for Existing template with Duplicate name Application is now showing validation "Document with this name already exists. Please enter different one." Refer attached screencapture Currently issue is resolved. Closing this ticket. Thanks, Jayshree cc - Priya Dhamande Hrishikesh Deshpande Satya Samir Swapnil Pandhare
            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status In QA Testing [ 11901 ] Done [ 10001 ]
            narendra.kumar Narendra Kumar logged work - 29/Jan/19 12:00 AM
            • Time Spent:
              7h
               
              <No comment>
            prasad.patil Prasad Patil (Inactive) made changes -
            Assignee Jayshree Nagpure [ jayshree.nagpure ] Narendra Kumar [ narendra.kumar ]
            narendra.kumar Narendra Kumar made changes -
            Remaining Estimate 4.5h [ 16200 ] 0.5h [ 1800 ]
            Time Spent 0.5h [ 1800 ] 4.5h [ 16200 ]
            Worklog Id 205685 [ 205685 ]
            narendra.kumar Narendra Kumar made changes -
            Remaining Estimate 0.5h [ 1800 ] 3.5h [ 12600 ]
            Original Estimate 5h [ 18000 ] 8h [ 28800 ]
            narendra.kumar Narendra Kumar made changes -
            Remaining Estimate 3.5h [ 12600 ] 0.5h [ 1800 ]
            Time Spent 4.5h [ 16200 ] 7.5h [ 27000 ]
            Worklog Id 205685 [ 205685 ]
            narendra.kumar Narendra Kumar made changes -
            Remaining Estimate 0.5h [ 1800 ] 7.5h [ 27000 ]
            Time Spent 7.5h [ 27000 ] 0.5h [ 1800 ]
            Worklog Id 205685 [ 205685 ]
            Worklog Time Spent 7h [ 25200 ]
            narendra.kumar Narendra Kumar made changes -
            Remaining Estimate 7.5h [ 27000 ] 0.5h [ 1800 ]
            Time Spent 0.5h [ 1800 ] 7.5h [ 27000 ]
            Worklog Id 206497 [ 206497 ]
            Transition Time In Source Status Execution Times
            Narendra Kumar made transition -
            To Do In Progress
            13d 55m 1
            Narendra Kumar made transition -
            In Progress Code Review
            23h 34m 1
            Swapnil Pandhare (Inactive) made transition -
            Code Review In QA Testing
            10d 13m 1
            Jayshree Nagpure (Inactive) made transition -
            In QA Testing In Progress
            1h 18m 1
            Jayshree Nagpure (Inactive) made transition -
            In Progress In QA Testing
            3d 18h 4m 1
            Jayshree Nagpure (Inactive) made transition -
            In QA Testing Done
            55m 44s 1

              People

              Assignee:
              narendra.kumar Narendra Kumar
              Reporter:
              jayshree.nagpure Jayshree Nagpure (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 8h
                  8h
                  Remaining:
                  Time Spent - 7.5h Remaining Estimate - 0.5h
                  0.5h
                  Logged:
                  Time Spent - 7.5h Remaining Estimate - 0.5h
                  7.5h