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

Document Library FileEntry extension not changing if a new version of the file has a different extension

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0.11 EE, 6.1.0 CE RC1
    • Component/s: DM
    • Labels:
    • Environment:
      LIFERAY VERSION: 6.0 SP 1
      OPERATING SYSTEM: Red Hat
      APPLICATION SERVER: Tomcat 6.x
      JAVA VIRTUAL MACHINE: Java 5
      DATABASE: MySQL 5.1
    • Branch Version/s:
      6.0.x
    • Backported to Branch:
      Committed

      Description

      Steps to reproduce
      1) Upload a word document to the document library
      2) Convert it to pdf and save it
      3) Edit the document library entry for that .doc and upload the pdf on top of it
      4) Go back to the documents list and notice that the icon for that document is still the Word doc icon even though the current version is a pdf.

      Details: The 'extension' attribute in the DLFileEntry table still contains old value of 'doc' instead of 'pdf'.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 50 weeks, 1 day ago