Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-1654

function laterthan has unreasonable inputs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.2
    • Component/s: Built-in functions
    • Labels:
      None

      Description

      From https://docs.cfengine.com/latest/reference-functions-laterthan.html:

      <pre>
      year: int, in the range: 0,1000
      month: int, in the range: 0,1000
      day: int, in the range: 0,1000
      hour: int, in the range: 0,1000
      minute: int, in the range: 0,1000
      second: int, in the range: 0,40000
      </pre>

      This is actually enforced.
      Max year of 1000 makes this function useless, or at least 1014 years out of date.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                a10025 Volker Hilsheimer (Inactive)
                Reporter:
                a10003 Eystein Maloy Stenberg
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel