<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:eisa01@gmail.com" title="eisa01 <eisa01@gmail.com>"> <span class="fn">eisa01</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTOURBUG - Exported kMDItemContentTypeTree is missing root (was: .Odf files not showing in Document search!)"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=49939">bug 49939</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>NOTOURBUG
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTOURBUG - Exported kMDItemContentTypeTree is missing root (was: .Odf files not showing in Document search!)"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=49939#c19">Comment # 19</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTOURBUG - Exported kMDItemContentTypeTree is missing root (was: .Odf files not showing in Document search!)"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=49939">bug 49939</a>
from <span class="vcard"><a class="email" href="mailto:eisa01@gmail.com" title="eisa01 <eisa01@gmail.com>"> <span class="fn">eisa01</span></a>
</span></b>
<pre>According to <a href="show_bug.cgi?id=49939#c14">comment #14</a> the LibreOffice files are missing
"org.oasis-open.opendocument" from the kMDItemContentTypeTree, and I see the
mdls logs posted don't have them
When I run mdls on my mac on the test files here, they are present now
This is in fact set by the Spotlight importer, so this has been resolved, but
was not a bug in LibreOffice
<a href="https://developer.apple.com/library/content/documentation/CoreServices/Reference/MetadataAttributesRef/Reference/CommonAttrs.html">https://developer.apple.com/library/content/documentation/CoreServices/Reference/MetadataAttributesRef/Reference/CommonAttrs.html</a>
kMDItemContentType
Uniform Type Identifier of the file. For example, a jpeg image file will have a
value of public.jpeg. The value of this attribute is set by the Spotlight
importer. Changes to this value are lost when the file attributes are next
imported.
This attribute is marked as nosearch. You must specify this attribute key
explicitly in a query in order for its contents to be searched.
Version: 5.4.0.3
Build ID: 7556cbc6811c9d992f4064ab9287069087d7f62c
CPU threads: 2; OS: Mac OS X 10.12.6; UI render: default;
Locale: en-US (en_US.UTF-8); Calc: group
mdls test2.odf
_kMDItemOwnerUserID = 501
kMDItemContentCreationDate = 2017-08-26 15:58:48 +0000
kMDItemContentModificationDate = 2017-08-26 15:58:48 +0000
kMDItemContentType = "org.oasis-open.opendocument.formula"
kMDItemContentTypeTree = (
"org.oasis-open.opendocument.formula",
"org.oasis-open.opendocument",
"public.data",
"public.archive",
"public.item",
"public.content",
"public.zip-archive",
"org.oasis-open.opendocument.formula",
"com.pkware.zip-archive"
)
kMDItemDateAdded = 2017-08-26 15:58:48 +0000
kMDItemDisplayName = "test2.odf"
kMDItemFSContentChangeDate = 2017-08-26 15:58:48 +0000
kMDItemFSCreationDate = 2017-08-26 15:58:48 +0000
kMDItemFSCreatorCode = ""
kMDItemFSFinderFlags = 0
kMDItemFSHasCustomIcon = (null)
kMDItemFSInvisible = 0
kMDItemFSIsExtensionHidden = 0
kMDItemFSIsStationery = (null)
kMDItemFSLabel = 0
kMDItemFSName = "test2.odf"
kMDItemFSNodeCount = (null)
kMDItemFSOwnerGroupID = 20
kMDItemFSOwnerUserID = 501
kMDItemFSSize = 4264
kMDItemFSTypeCode = ""
kMDItemKind = "OpenDocument Formula"
kMDItemLogicalSize = 4264
kMDItemPhysicalSize = 8192</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>