Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-85247

Document Library analytics events are incosistent

    Details

      Description

      In the samples below, documentDownloaded does not contain fileEntryId and version.
      Version is only set depending from where the file was downloaded, for instance Info -> Versions.

      Events for Comments and Ratings do not contain the version property.

       

      {{{}}
         "applicationId": "Document",
         "contextHash": "1e6be89c9b955e53928a7926f7880fbb",
         "eventDate": "2018-09-10T13:48:52.807Z",
         "eventId": "documentPreviewed",
         "properties": {
             "fileEntryId": "36507",
             "groupId": "20126",
             "fileEntryUUID": "a6819e9d-df2c-9e81-afbd-77d203a6c278",
             "title": "arch.png",
             "version": "1.0"
      {{   }}}
      }

      {{{}}
         "applicationId": "Document",
         "contextHash": "1ab93eb426f7bd3e317fbdcc1084c27f",
         "eventDate": "2018-09-10T13:51:29.696Z",
         "eventId": "documentDownloaded",
         "properties": {
             "groupId": "20126",
             "fileEntryUUID": "a6819e9d-df2c-9e81-afbd-77d203a6c278",
             "preview": false,
             "title": "arch.png"
      {{   }}}
      }

      {{{}}
         "applicationId": "Comment",
         "contextHash": "e4323d2d42886b2a3804fadbfb343ea0",
         "eventDate": "2018-09-10T13:48:52.443Z",
         "eventId": "posted",
         "properties": {
             "className": "com.liferay.document.library.kernel.model.DLFileEntry",
             "classPK": "36507",
             "commentId": "36548",
             "text": "<p>test</p>\n"
      {{   }}}
      }

      {{{}}
         "applicationId": "Ratings",
         "contextHash": "35133976e8c30b516f787aea7c5f2554",
         "eventDate": "2018-09-10T12:50:49.008Z",
         "eventId": "VOTE",
         "properties": {
             "className": "com.liferay.document.library.kernel.model.DLFileEntry",
             "classPK": "36507",
             "score": 1
      {{   }}}
      }

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 6 weeks, 1 day ago

                Packages

                Version Package
                7.1.10 DXP FP3
                7.1.1 CE GA2
                7.1.10.1 SP1
                7.1.X
                Master