← Back to team overview

mahara-contributors team mailing list archive

[Bug 1828150] Re: clicking on calendar icon doesnt bring up the datepicker on calendar inputs

 

Commit hash: 1b85e941a5b0529db39349f1114052c016659802
Environment tested: Master
Browser tested: Chrome
Theme used:  Raw | Default raw | Ocean | Modern | Primary school 

PRECONDITIONS: 
------------------------ 
1) Mahara user exists (no roles) 
2) Groups exist 
3) Secret URL exists

NOTE: An Example of how the Bootstrap 4 date picker works can be found
here  https://gijgo.com/datepicker/example/bootstrap-4

1) Date field consists of a date input field and a date icon to the right of the field 
    a) Hovering over the date input field should display the mouse pointer to a text icon - indicating a text field 
    b) Hovering over the date icon to right should change the mouse pointer to a hand with pointing finger - indicating a link
2) clicking either the field or date icon will trigger the calendar to be displayed directly below the date input field 
3) User can either type in a date in the format yyyy/mm/dd or select a date from the calendar 
4) the date value will be displayed in field 


TEST STEPS: 
------------------------ 
1) Log in as Mahara user 
2) Verify Date field consists of a date input field and a date icon to the right of the field 
      a) Hovering over the date input field should display the mouse pointer to a text icon - indicating a text field ✔
      b) Hovering over the date icon to right should change the mouse pointer to a hand with pointing finger - indicating a link ✘
3) Clicking either the field or date icon will trigger the calendar to be displayed directly below the date input field ✔
4) User can either type in a date in the format yyyy/mm/dd or select a date from the calendar  ✔
5) The date value will be displayed in field  ✔
6) Verify the date picker is working as expected on the following pages:
      a) Resume page - Date of birth field (/artefact/resume/index.php) ✘
      b) Editing a Secret URL - From and To date fields	(/view/urls.php?id=5) ✘
      c) Account settings page for a User - Account expires date field(/admin/users/edit.php?id=3) ✘
      d) Institution settings page - Institution expiry date date field (/admin/users/institutions.php) ✘
      e) Group settings page - Start and End date fields for edit ability (-/group/edit.php?id=1) ✘
      f) Report configuration modal - From and To date fields		(/admin/users/statistics.php) ✘


Catalyst QA Failed Testing ✘


** Attachment added: "Bootstrap4 datepicker mouse pointer display_09-05-19-09:10:40.png"
   https://bugs.launchpad.net/mahara/+bug/1828150/+attachment/5262461/+files/Bootstrap4%20datepicker%20mouse%20pointer%20display_09-05-19-09%3A10%3A40.png

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1828150

Title:
  clicking on calendar icon doesnt bring up the datepicker on calendar
  inputs

Status in Mahara:
  Confirmed
Status in Mahara 19.04 series:
  New

Bug description:
  to replicate:
  - on a calendar input, click on the calendar icon

  expected result: the datepicker appears
  actual result: nothing happens

  a list of pages where the calendar may appear:
  -/artefact/resume/index.php
  -/view/urls.php?id=____ -> needs an id of the page
  -/admin/users/edit.php?id=____ -> needs an id of the page
  -/admin/users/institutions.php
  -/group/edit.php?id=__ -> needs an id of the page
  -/admin/users/statistics.php

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1828150/+subscriptions


References