iOS 11b1 - UIDocumentPickerViewController crash when Mark as PDF generates no file to preview

Originator:felipekellermann
Number:rdar://32718784 Date Originated:June 12 2017
Status:Closed Resolved:July 10 2017
Product:iOS + SDK Product Version:11.0 (15A5278f)
Classification:Crash Reproducible:Always
 
Area:
UIKit

Summary:
Default iOS apps or 3rd party apps using Mark as PDF when it generates no file to preview

Steps to Reproduce:
1 - Open (Preview) a standard Excel or CSV file using any app (Files, Mail, etc.).
2 - Open the sharing menu selecting Mark as PDF (iOS 11).
3 - A standard "No file to preview" is presented (maybe Excel and CSV files should be correctly previewed, though).
4 - Select Done and then Save File To... (crash)

Expected Results:
The content should be correctly converted (macOS does that) or the "Save File To..." or the "Done" should be disabled or no op.

Observed Results:
Crash using both standard iOS apps or 3rd party apps using APIs as QuickLook

Version:
11.0 (15A5278f)

Notes:


Configuration:

Comments

Fixed on 11.0b2 or 11.0b3

Action "Mark as PDF" no longer appears when the content can not be converted to PDF.

By felipekellermann at July 10, 2017, 6:28 p.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!