Document-scoped bookmark resolution failing without error

Originator:thedov
Number:rdar://11369377 Date Originated:5/2/2012
Status:Open Resolved:
Product:Mac OS X SDK Product Version:10.7.3
Classification:Serious Bug Reproducible:Always
 
Summary: When resolving a security scoped document-based bookmark, nil is returned, with no error code

Steps to Reproduce:
1. Load attached sample app, which is sandboxed
2. Update project settings to point to a valid code signing certificate
3. Build and Run
4. Click button "1. Pick file" and select any file outside the application's container from the Open Panel
5. Click button "2. Export" and select any destination outside the app's container in the Save Panel
6. Click button "3. Import" and select the file exported in the previous step

Expected Results:
The path of the URL selected in step 4 should appear in the bottom text field

Actual Results:
The URL doesn't resolve at all, so I display a message in the field instead

Regression:

Notes:
Also, try repeating step 6 with the check box unchecked. The URL resolves, but the location is relative to the app's container

Comments

we met the exact same issue

I filed another bug report in rdar://11402376

By yingshen.yu at May 8, 2012, 4:08 a.m. (reply...)

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!