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

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

    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:
    • Team:
      Platform Core
    • Sub-team:
    • 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:
      Needs Assessment

      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

            jsd-sla-details-panel

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: