fail to resolve document security scoped bookmark
| Originator: | yingshen.yu | ||
| Number: | rdar://11402376 | Date Originated: | 5/8/2012 |
| Status: | Open | Resolved: | |
| Product: | Mac OS X | Product Version: | 10.7.3 |
| Classification: | Serious Bug | Reproducible: | Always |
08-May-2012 11:43 AM Yu Yu: Summary: fail to resolve document security scoped bookmark Steps to Reproduce: 1) Build the attached xcodeproject, (fix code sign settings if necessary) 2) run DocBookmarkTest. 3) File->Save save a file with name "Test" 4) "Add Ref", select a text file. 5) File->Save again 6) Close the document "Test" 7) re-open the document. 8) click the "Read Ref" button. 9) step through the code. in [BookmarkEntry urlByResolveBookmark:ofReferrer:] method, you can see the returned NSURL value is nil, but error is nil either. In Console Window, there's a message "ScopedBookmarkAgent, Failed to retrieve collection-scope key, aborting" Expected Results: Expect [BookmarkEntry urlByResolveBookmark:ofReferrer:] can resolve the document scoped bookmark successfully. Actual Results: it failed to resolve document scoped bookmark with no error. Regression: Not a regress, this a new API, and it doesn't work. Notes: We need this feature to implement reference files in our app, this is the solution Apple provieded, if it doesn't work, we have no workaround to implement our app on Mac OS X platform. 08-May-2012 11:43 AM Yu Yu: 'SandboxTests.zip' was successfully uploaded
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!