Uploaded image for project: 'Holiday Request'
  1. Holiday Request
  2. HOLIDAYREQ-41

Days field needs to have strict restrictions, at the moment can add minus "-" and 5 decimals

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 1.3.2
    • None
    • XE 9.1.2, local instance 9.1.2, MySQL 5.7

    Description

      Steps to reproduce:

      1. Create a new Holiday Request
      2. Select a Start and End Date
      3. In the Days field remove the default 1.0 and add a negative number, with many decimals e.g. "-1.26236"
      4. Add a manager
      5. Click Save this request and send a notification to the manager

      Expected results: You are not allowed to add/save negative values, you are only allowed to add 2 decimals.

      Actual results: You are allowed to add/save negative values and 5 decimals.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ganechitoaei Gabriela Anechitoaei
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: