Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-21590

Alfresco does not detect mime type change when uploading a new version of a document with another one with new mime type

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 5.0.d Community
    • Fix Version/s: None
    • Component/s: Share Application
    • Security Level: external (External user)
    • Labels:
      None
    • Environment:
      Ubuntu 14.04
      Alfresco 5.0.d

      Description

      Steps to reproduce:

      Upload a docx file into Alfresco;
      Check the mime type;
      Upload a new version, but using a txt file;
      Check the mime type. It's still docx.

      Looking at the logs, the message bellow is shown:

      2016-03-31 22:27:23,112 WARN [content.metadata.AbstractMappingMetadataExtracter] [http-bio-8080-exec-1] Metadata extraction failed (turn on DEBUG for full error):
      Extracter: org.alfresco.repo.content.metadata.PoiMetadataExtracter@26706c6d
      Content: ContentAccessor[ contentUrl=store://2016/3/31/22/27/c5580df6-4612-43ec-a042-bbf6bbe49e63.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=165, encoding=UTF-8, locale=pt_BR]
      Failure: Error creating OOXML extractor
      claimed mime type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
      detected mime type: text/plain

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedissues Closed Issues
                  Reporter:
                  douglascrp Douglas Cassiano Rodrigues Paes
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Date of First Response:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 15 minutes
                    15m

                      Structure Helper Panel