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

Comparison of Numeric to Timestamp/Timespan fails, but other way is ok

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 6.0.0
    • Component/s: Docs
    • 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:
      Hide
      When comparing Numeric to Timestamp or Timespan it did not work to compare with the Numeric value first. This is now fixed.
      Show
      When comparing Numeric to Timestamp or Timespan it did not work to compare with the Numeric value first. This is now fixed.
    • QA Risk Assessment:
      No Action

      Description

      When comparing Numeric to Timestamp or Timespan it does not work to compare with the Numeric value first:

      1 < Timespan(2)
      1 < Timestamp(2)
      

      but works in reverse

      Timespan(2) > 1
      Timestamp(2) > 1
      

      It should work both ways.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support