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

Create Document template | Date picker issue when year is changed

    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 document template
      3) check Does this form required an expiration date?
      4) Enter "Valid from" and "Valid to" date manually eg : 05/05/1990
      5)Then open the date picker, in year only upto 20 years are seen eg from 1980-2000

      Expected : When year is changed manually or through date picker, all the years should be listed . there should not be restrictions of upto 20 years

        Attachments

        1. DatePicker1.jpg
          DatePicker1.jpg
          150 kB
        2. DatePicker2.jpg
          DatePicker2.jpg
          145 kB

          Issue Links

            Activity

            jayshree.nagpure Jayshree Nagpure (Inactive) created issue -
            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Field Original Value New Value
            Summary Create Document template | Date picker descrepency Create Document template | Date picker discrepancy
            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Summary Create Document template | Date picker discrepancy Create Document template | Date picker issue when year is changed
            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Description Replication steps :
            1) Open the dashboard
            2)Click on create document template
            3) check Does this form required an expiration date?
            4) Enter "Valid from" and "Valid to" date manually eg : 05/05/1990
            5)Then open the date picker, in year only upto 20 years are seen eg from 1980-2000

            Expected : When year is changed manually or through date picker, all the years should be listed . there should not be restrictions of upto 20 years
            *Replication steps* :
            1) Open the dashboard
            2)Click on create document template
            3) check Does this form required an expiration date?
            4) Enter "Valid from" and "Valid to" date manually eg : 05/05/1990
            5)Then open the date picker, in year only upto 20 years are seen eg from 1980-2000

            *Expected* : When year is changed manually or through date picker, all the years should be listed . there should not be restrictions of upto 20 years
            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Attachment DatePicker1.jpg [ 92836 ]
            Attachment DatePicker2.jpg [ 92837 ]
            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Link This issue relates to DMS-256 [ DMS-256 ]
            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - Priya Dhamande Samir Satya Swapnil Pandhare
            swapnil.pandhare Swapnil Pandhare (Inactive) made changes -
            Assignee Swapnil Pandhare [ swapnil.pandhare ] Narendra Kumar [ narendra.kumar ]
            narendra.kumar Narendra Kumar made changes -
            Sprint DMS - Sprint 5 [ 133 ]
            narendra.kumar Narendra Kumar made changes -
            Status To Do [ 10000 ] In Progress [ 3 ]
            Hide
            narendra.kumar Narendra Kumar added a comment -

            Hi Jayshree Nagpure

            What do you mean by all the years should be listed? See its the date picker functionality that you can see 20 Years at one time but when you select the first year from the dropdown and then again click on the year, It will show you the other 20 Years.

            For example: By default, it will show you date from 2008 to 2028. When you select 2008 and again click on the year dropdown it will show you date from 1998 to 2017. So in this way, you can select any year that you want to.

            So tell me what to do?

            cc - Swapnil Pandhare, Samir

             

            Thanks

            Narendra K.

            Show
            narendra.kumar Narendra Kumar added a comment - Hi Jayshree Nagpure What do you mean by all the years should be listed?  See its the date picker functionality that you can see 20 Years at one time but when you select the first year from the dropdown and then again click on the year, It will show you the other 20 Years. For example: By default, it will show you date from 2008 to 2028. When you select 2008 and again click on the year dropdown it will show you date from 1998 to 2017. So in this way, you can select any year that you want to. So tell me what to do? cc - Swapnil Pandhare , Samir   Thanks Narendra K.
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

            Hi Narendra Kumar,

            If already year is selected as 1996 and I have to update the year from 1996 to 2018, but in this case years are listed in date picker is from 1986-2006.
            To jump to 2018 I have to first select 2006 then it will show from 1996-2016.
            then again select the year as 2016 then will show 2018 and then will be able to select year as 2018.
            In this case if we have to select the year greater than 20years then we have to jump into number of sections which is incorrect.
            same would be the case if i have to move 20 years back even though by default date is shown from 2008 to 2018.

            So here I would suggest to increase the number of years.

            Thanks,
            Jayshree

            cc - Priya Dhamande Samir Swapnil Pandhare

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - Hi Narendra Kumar , If already year is selected as 1996 and I have to update the year from 1996 to 2018, but in this case years are listed in date picker is from 1986-2006. To jump to 2018 I have to first select 2006 then it will show from 1996-2016. then again select the year as 2016 then will show 2018 and then will be able to select year as 2018. In this case if we have to select the year greater than 20years then we have to jump into number of sections which is incorrect. same would be the case if i have to move 20 years back even though by default date is shown from 2008 to 2018. So here I would suggest to increase the number of years. Thanks, Jayshree cc - Priya Dhamande Samir Swapnil Pandhare
            Hide
            narendra.kumar Narendra Kumar added a comment -

            Hi Jayshree Nagpure,

            We are using the third party library ngbDatepicker for the date picker. And I went through the complete library but didn't find any method so that we can change the no of years in the drop-down.

            The other option which we have is changing the date-picker library. So tell me what to do?

            cc - Samir, Swapnil Pandhare

             

            Thanks

            Narendra K.

            Show
            narendra.kumar Narendra Kumar added a comment - Hi Jayshree Nagpure , We are using the third party library  ngbDatepicker for the date picker. And I went through the complete library but didn't find any method so that we can change the no of years in the drop-down. The other option which we have is changing the date-picker library. So tell me what to do? cc - Samir , Swapnil Pandhare   Thanks Narendra K.
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

            Swapnil Pandhare Can you please suggest on above comments by Narendra Kumar

            Thanks,
            Jayshree

            cc - Priya Dhamande Samir Narendra Kumar

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - Swapnil Pandhare Can you please suggest on above comments by Narendra Kumar Thanks, Jayshree cc - Priya Dhamande Samir Narendra Kumar
            narendra.kumar Narendra Kumar made changes -
            Remaining Estimate 8h [ 28800 ]
            Original Estimate 8h [ 28800 ]
            Hide
            swapnil.pandhare Swapnil Pandhare (Inactive) added a comment -

            Hi Molly Ronovsky ,

            Can you please update on this document expiration no. of years? Currently, date picker is restricted for 20 years. Would this be fine ?

            Thanks,
            Swapnil P

            Show
            swapnil.pandhare Swapnil Pandhare (Inactive) added a comment - Hi Molly Ronovsky , Can you please update on this document expiration no. of years? Currently, date picker is restricted for 20 years. Would this be fine ? Thanks, Swapnil P
            swapnil.pandhare Swapnil Pandhare (Inactive) made changes -
            Assignee Narendra Kumar [ narendra.kumar ] Molly Ronovsky [ molly.ronovsky ]
            Sprint DMS - Sprint 5 [ 133 ] DMS - Sprint 6 [ 134 ]
            Hide
            molly.ronovsky Molly Ronovsky (Inactive) added a comment -
            Show
            molly.ronovsky Molly Ronovsky (Inactive) added a comment - Swapnil Pandhare Yes
            swapnil.pandhare Swapnil Pandhare (Inactive) made changes -
            Assignee Molly Ronovsky [ molly.ronovsky ] Narendra Kumar [ narendra.kumar ]
            Sprint DMS - Sprint 6 [ 134 ] DMS - Sprint 7 [ 148 ]
            Hide
            narendra.kumar Narendra Kumar added a comment -

            Hi Swapnil Pandhare

            As Molly Ronovsky has confirmed that the current process is fine. So marking this task in code review.

             

            cc - Priya Dhamande, Jayshree Nagpure

            Thanks

            Narendra

            Show
            narendra.kumar Narendra Kumar added a comment - Hi Swapnil Pandhare As Molly Ronovsky has confirmed that the current process is fine. So marking this task in code review.   cc - Priya Dhamande , Jayshree Nagpure Thanks Narendra
            narendra.kumar Narendra Kumar made changes -
            Status In Progress [ 3 ] Code Review [ 11801 ]
            swapnil.pandhare Swapnil Pandhare (Inactive) made changes -
            Assignee Narendra Kumar [ narendra.kumar ] Jayshree Nagpure [ jayshree.nagpure ]
            swapnil.pandhare Swapnil Pandhare (Inactive) made changes -
            Status Code Review [ 11801 ] In QA Testing [ 11901 ]
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

            As per above comments closing this ticket.

            Thanks,
            Jayshree

            cc - Swapnil Pandhare Samir Priya Dhamande Hrishikesh Deshpande Satya

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - As per above comments closing this ticket. Thanks, Jayshree cc - Swapnil Pandhare Samir Priya Dhamande Hrishikesh Deshpande Satya
            jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status In QA Testing [ 11901 ] Done [ 10001 ]
            narendra.kumar Narendra Kumar logged work - 28/Jan/19 12:00 AM - edited
            • 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 8h [ 28800 ] 0h [ 0 ]
            Time Spent 8h [ 28800 ]
            Worklog Id 205684 [ 205684 ]
            narendra.kumar Narendra Kumar made changes -
            Remaining Estimate 0h [ 0 ] 8h [ 28800 ]
            Time Spent 8h [ 28800 ] 0h [ 0 ]
            Worklog Id 205684 [ 205684 ]
            Worklog Time Spent 8h [ 28800 ]
            narendra.kumar Narendra Kumar made changes -
            Remaining Estimate 8h [ 28800 ] 0h [ 0 ]
            Time Spent 0h [ 0 ] 8h [ 28800 ]
            Worklog Id 206496 [ 206496 ]
            narendra.kumar Narendra Kumar made changes -
            Remaining Estimate 0h [ 0 ] 1h [ 3600 ]
            Time Spent 8h [ 28800 ] 7h [ 25200 ]
            Worklog Id 206496 [ 206496 ]
            Transition Time In Source Status Execution Times
            Narendra Kumar made transition -
            To Do In Progress
            1d 20h 1m 1
            Narendra Kumar made transition -
            In Progress Code Review
            19d 31m 1
            Swapnil Pandhare (Inactive) made transition -
            Code Review In QA Testing
            1d 2h 58m 1
            Jayshree Nagpure (Inactive) made transition -
            In QA Testing Done
            2d 24m 1

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 8h
                  8h
                  Remaining:
                  Time Spent - 7h Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - 7h Remaining Estimate - 1h
                  7h