Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12716

The sinceDays ping field is not correctly computed

    XMLWordPrintable

Details

    • Unknown

    Description

      The generated Ping data set a false sinceDays of 0 (sometimes 1, 2 or 3 but more).

      The reason is that the following ES script computation is not done correctly:

              aggsMap.put(PROPERTY_SINCE_DAYS, Collections.singletonMap(PROPERTY_MIN,
                  Collections.singletonMap("script", "time() - doc['_timestamp'].value")));
      

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: