<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic lost word document file's mime type when uploading new version. in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/lost-word-document-file-s-mime-type-when-uploading-new-version/m-p/112397#M31331</link>
    <description>&lt;P&gt;Hi, I downloaded and started using alfresco-content-repository-community:6.2.0-ga.&lt;BR /&gt;I have a question. When I add a word document(.docx) to Alfresco, it is recognized as Mime-type: Word 2007. Then I choose 'Offline edit' and upload new version after editing.&lt;BR /&gt;However after uploading new version(&lt;A href="https://docs.alfresco.com/5.2/tasks/library-item-upload.html" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/5.2/tasks/library-item-upload.html&lt;/A&gt;.), the Mime-type is changed to Binary File(Octet stream) .It happens same for Power point.&lt;BR /&gt;&lt;SPAN&gt;I tried it on Chrome and Edge, but the result was the same for both.&lt;BR /&gt;Do I need to do any special settings?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="added.png" style="width: 378px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/550iCA1C368A17942B8C/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="uploaded.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/551i7C3DE381A6E2AF4B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Apr 2020 05:04:47 GMT</pubDate>
    <dc:creator>ryo39</dc:creator>
    <dc:date>2020-04-08T05:04:47Z</dc:date>
    <item>
      <title>lost word document file's mime type when uploading new version.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lost-word-document-file-s-mime-type-when-uploading-new-version/m-p/112397#M31331</link>
      <description>&lt;P&gt;Hi, I downloaded and started using alfresco-content-repository-community:6.2.0-ga.&lt;BR /&gt;I have a question. When I add a word document(.docx) to Alfresco, it is recognized as Mime-type: Word 2007. Then I choose 'Offline edit' and upload new version after editing.&lt;BR /&gt;However after uploading new version(&lt;A href="https://docs.alfresco.com/5.2/tasks/library-item-upload.html" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/5.2/tasks/library-item-upload.html&lt;/A&gt;.), the Mime-type is changed to Binary File(Octet stream) .It happens same for Power point.&lt;BR /&gt;&lt;SPAN&gt;I tried it on Chrome and Edge, but the result was the same for both.&lt;BR /&gt;Do I need to do any special settings?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="added.png" style="width: 378px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/550iCA1C368A17942B8C/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="uploaded.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/551i7C3DE381A6E2AF4B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2020 05:04:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lost-word-document-file-s-mime-type-when-uploading-new-version/m-p/112397#M31331</guid>
      <dc:creator>ryo39</dc:creator>
      <dc:date>2020-04-08T05:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: lost word document file's mime type when uploading new version.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lost-word-document-file-s-mime-type-when-uploading-new-version/m-p/112398#M31332</link>
      <description>&lt;P&gt;PS : I run my alfresco site using docker-compose.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2020 05:26:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lost-word-document-file-s-mime-type-when-uploading-new-version/m-p/112398#M31332</guid>
      <dc:creator>ryo39</dc:creator>
      <dc:date>2020-04-08T05:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: lost word document file's mime type when uploading new version.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lost-word-document-file-s-mime-type-when-uploading-new-version/m-p/112399#M31333</link>
      <description>&lt;P&gt;This is the file I used for test.　Nobody encountered such behavior?&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1FH0bNAZHe2FAy59odtoSebtc5sH61h7N/view?usp=sharing" target="_self" rel="nofollow noopener noreferrer"&gt;Abcde.docx&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 06:30:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lost-word-document-file-s-mime-type-when-uploading-new-version/m-p/112399#M31333</guid>
      <dc:creator>ryo39</dc:creator>
      <dc:date>2020-04-09T06:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: lost word document file's mime type when uploading new version.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lost-word-document-file-s-mime-type-when-uploading-new-version/m-p/112400#M31334</link>
      <description>&lt;P&gt;I have used the file provided by you and could not reproduce the issue (also running within Docker). In general, I am familiar with this kind of behaviour in cases where the file extension is not properly set, e.g. when a user has renamed the file in Alfresco to remove the extension and then uploaded a new version, or when the file extension has been removed on the file system and then the new version was uploaded from that file.&lt;/P&gt;

&lt;P&gt;P.S.: It's interesting to see a screenshot of the Japanese UI and how much 外来語 is being used even for simple terms like "size" for which there surely must be suitable Japanese terms (just like 名前 is used for "name" instead of some English-sounding term). Though I am learning Japanese (very much beginner level), I had not yet considered trying out the Japanese localisation of Alfresco.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 08:12:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lost-word-document-file-s-mime-type-when-uploading-new-version/m-p/112400#M31334</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2020-04-09T08:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: lost word document file's mime type when uploading new version.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lost-word-document-file-s-mime-type-when-uploading-new-version/m-p/112401#M31335</link>
      <description>&lt;P&gt;Thank you for your reply. And I'm sorry for the late reply.&lt;BR /&gt;I investigated this issue and found that it only occurs on Windows.&lt;BR /&gt;And I found that when browser uploads using a new version dialog, on Windows it gets the mime-type from the registry.&lt;BR /&gt;I have office2019 installed on my Windows, but I didn't have the following registry (not sure why).&lt;BR /&gt;&amp;lt;&amp;lt; HKEY_CLASSES_ROOT \ &amp;lt;extension&amp;gt; \ Content Type &amp;gt;&amp;gt;&lt;BR /&gt;Alfresco seems to trust mime-type from the browser when uploading a new version?&lt;BR /&gt;I wondered why Alfresco doesn't check the mime-type of the file on the server side.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;ryo&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 13:04:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lost-word-document-file-s-mime-type-when-uploading-new-version/m-p/112401#M31335</guid>
      <dc:creator>ryo39</dc:creator>
      <dc:date>2020-04-27T13:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: lost word document file's mime type when uploading new version.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lost-word-document-file-s-mime-type-when-uploading-new-version/m-p/112402#M31336</link>
      <description>&lt;P&gt;To protect my system from corruption of mime-type by uploading from a non-office installed Windows PC, I made a following windows registory file(.reg) and I decided to ask windows users of my colleague write the registry.&lt;/P&gt;&lt;PRE&gt;Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Classes\.docx]
"Content Type"="application/vnd.openxmlformats-officedocument.wordprocessingml.document"

[HKEY_CURRENT_USER\Software\Classes\.docm]
"Content Type"="application/vnd.ms-word.document.macroEnabled.12"

[HKEY_CURRENT_USER\Software\Classes\.dotx]
"Content Type"="application/vnd.openxmlformats-officedocument.wordprocessingml.template"

[HKEY_CURRENT_USER\Software\Classes\.doc]
"Content Type"="application/msword"

[HKEY_CURRENT_USER\Software\Classes\.xlsx]
"Content Type"="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"

[HKEY_CURRENT_USER\Software\Classes\.xlsm]
"Content Type"="application/vnd.ms-excel.sheet.macroEnabled.12"

[HKEY_CURRENT_USER\Software\Classes\.xlt]
"Content Type"="application/vnd.ms-excel"

[HKEY_CURRENT_USER\Software\Classes\.xls]
"Content Type"="application/vnd.ms-excel"

[HKEY_CURRENT_USER\Software\Classes\.pptx]
"Content Type"="application/vnd.openxmlformats-officedocument.presentationml.presentation"

[HKEY_CURRENT_USER\Software\Classes\.pptm]
"Content Type"="application/vnd.ms-powerpoint.presentation.macroEnabled.12"

[HKEY_CURRENT_USER\Software\Classes\.potx]
"Content Type"="application/vnd.openxmlformats-officedocument.presentationml.template"

[HKEY_CURRENT_USER\Software\Classes\.potm]
"Content Type"="application/vnd.ms-powerpoint.template.macroEnabled.12"

[HKEY_CURRENT_USER\Software\Classes\.ppt]
"Content Type"="application/vnd.ms-powerpoint"

[HKEY_CURRENT_USER\Software\Classes\.csv]
"Content Type"="text/csv"&lt;/PRE&gt;</description>
      <pubDate>Thu, 30 Apr 2020 21:13:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lost-word-document-file-s-mime-type-when-uploading-new-version/m-p/112402#M31336</guid>
      <dc:creator>ryo39</dc:creator>
      <dc:date>2020-04-30T21:13:57Z</dc:date>
    </item>
  </channel>
</rss>

