Page Count Displayed Multiple Times

Originator:JamesValaitis
Number:rdar://23873924 Date Originated:13-Dec-2015 01:31 PM
Status:Open Resolved:
Product:iOS Product Version:9.0
Classification: Reproducible:Didn't Try
 
Summary:
Index results in iOS spotlight can occasionally display the page count multiple times. I have attached an image.

Steps to Reproduce:
1. Create a CSSearchableItem.
2. Create a CSSearchableItemAttributeSet.
3. On the attribute set, set the page count.
4. Set the attribute set on the searchable item.
5. Index the searchable item.
6. Search for the item in spotlight.

Expected Results:
The item displayed in the search results with the page count displayed once.

Actual Results:
The page count will be displayed multiple times.

Version:
iOS 9.0

Notes:
This is the literal code in question:

`attributeSet.pageCount = @(publication.pdf.pages);`

Configuration:
iOS Simulators.

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!