NSMetadataQuery returns no results for sandboxed app

Originator:stevereinvented
Number:rdar://10978647 Date Originated:3/3/2012
Status:Duplicate/9629035 Resolved:
Product:Mac OS X Product Version:10.7.3
Classification:Serious Bug Reproducible:Always
 
03-Mar-2012 03:05 PM Steve Harris:
Summary:
NSMetadataQuery returns no results when the app is sandboxed.

Steps to Reproduce:
1. Enable sandboxing for app
2. Perform a search with NSMetadataQuery

Expected Results:
The search results match the results from the app when it is not sandboxed.

Actual Results:
No results are returned.

Regression:
N/A

Notes:
This seems to apply even when the app has R/W access to folders through secure bookmarks.

See also rdar://10092640

Works on 10.8

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!