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

Estimated reading time turns to "undefined" when content field is filled out

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: 7.1.0 M2, 7.1.X, Master
    • Component/s: Blogs
    • Labels:
    • Fix Priority:
      4
    • Sprint:
      Rodimus Prime

      Description

      Steps to reproduce:

      1. Enable estimated reading time for Blogs in System Settings > Blogs
      2. Navigate to site page and add a Blog portlet
      3. Click New Blog Entry
      4. Type a word into the content field

      Expected result:
      The estimated reading time that appears on the top of the Blog entry field should reflect how many words are in the content field. In this case the estimate should be 1 minute. If more paragraphs were added into the content field, this time estimate should go up.

      Actual result:
      The estimated reading time that appears on the top of the Blog entry field reads undefined
      However, the estimated reading time of the Blog article, once published, displays the accurate reading time.

      Reproduced on:
      Tomcat 8.0.32 + MySQL 5.6.
      Portal master GIT ID: ab79003b96c69f2fdc4085bc07340c12de044172

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                austin.chiang Austin Chiang
                Reporter:
                austin.chiang Austin Chiang
                Participants of an Issue:
                Recent user:
                Patricia Perez
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 28 weeks, 4 days ago

                  Packages

                  Version Package
                  7.1.0 M2
                  7.1.X
                  Master