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

KB attachment file size metric is not consistent in view and edit pages

    Details

      Description

      Steps to reproduce:

      1. Deploy KB portlet
      2. Go to Liferay > Content > Knowledge Base
      3. Add KB article with attachment (0KB)
      4. Go article > edit > expand Attachments panel

      Expected result:
      Attachment should have a file size of 0KB

      Actual result:
      Attachment has a file size of 0KBk

      Reproduced on:
      Tomcat 8.0.32 + PostgreSQL 9.3 and MySQL 5.6.
      Portal master GIT ID: df9d5f120af3752e62efa36d1afc5a0c0f64b974

        Attachments

        1. kbsize1.PNG
          kbsize1.PNG
          134 kB
        2. kbsize2.PNG
          kbsize2.PNG
          135 kB

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 11 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 CE RC1