Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-8703

Numeric('0') raises an error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 5.5.2
    • Component/s: None
    • Labels:
      None
    • Template:
      PUP Bug Template
    • Sub-team:
    • Team:
      Platform Core
    • Sprint:
      Platform Core KANBAN
    • Method Found:
      Needs Assessment
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      If an attempt was made to create a Numeric from the string "0" it would lead to an error. This is now fixed.
    • QA Risk Assessment:
      No Action

      Description

      The Numeric data type when given the string "0" will fail because it attempts to look at the second char in the string - if it is a downcased 'b' or 'x' - and this fails since there is nothing to downcase.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            henrik.lindberg Henrik Lindberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support