Details

    • Type: Incompatibility
    • Status: Deployed
    • Priority: New
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.7.12
    • Labels:
      None
    • Sprint:
      March 2018

      Description

      ACF supports implicit casting of TimeStamp as Boolean. Lucee does not.

      ts = createTimeSpan(0, 0, 0, 1);
      if (ts) {
        writeOutput("only works in ACF");
      }
      if (ts > 0) {
        writeOutput("works in ACF and Lucee");
      }
      

      Exception on Lucee's side is: can't cast Timespan to boolean

        Attachments

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              AKwaschny Alexander Kwaschny
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: