predicateForRemindersInCalendars(calendars: [EKCalendar]?) doesn't work in watchOS2

Originator:ish
Number:rdar://22799964 Date Originated:Sept 22 2015
Status:Open Resolved:
Product:watchOS Product Version:2.0
Classification:Serious Bug Reproducible:Always
 
let store = EKEventStore()
let predicate = store.predicateForRemindersInCalendars(nil)

 store.fetchRemindersMatchingPredicate(predicate, completion: { (reminders) -> Void in
                        
                        if let reminders = reminders{
                            print(reminders.count)
                            
                        }
                    })

The number of reminders is differers in watchOS2 and iOS9.  watchOS2 only count reminders with a non-zero priority

Steps to Reproduce:
1. Create an instance of EKStore for a watch app
2. Create a predicate the finds all reminders in all Calendars
3. Perform a fetch on the store using this predicate

Expected Results:
All Reminders in the EKEventStore should be returned

Actual Results:
Only Reminders with priorities that are non-zero are returned


Version:
watchOS2 2.0(13S344)

Notes:


Configuration:
This is with Xcode 7.0 GMs

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!