Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-1329

Some liquid functions are not working - especially the time functions

    XMLWordPrintable

Details

    • 0
    • 0% 0%

    Description

      All of the time functions are returning the empty string:

      Functions: `time, today, http_time, cookie_time, localtime, now, utctime`

      Example response where `arg` is added argument:

      "args": "user_key=5941428bd561fa5a91489f2c36ed8cb3&arg=",
      

      Apicast Issue

      https://github.com/3scale/apicast/issues/909

      Workaround

      Currently, how these functions work - it is required to call it this way: `{{ <some_param> | now}}`

      So, for example, this works:

      {{ uri | now }}
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            pstanko@redhat.com Peter Stanko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: