Cannot remove action from trigger-owned action set
| Originator: | matthias.hochgatterer | ||
| Number: | rdar://27988490 | Date Originated: | 24-Aug-2016 04:37 PM |
| Status: | Duplicate of 26298760 (Open) | Resolved: | |
| Product: | iOS | Product Version: | |
| Classification: | Reproducible: |
Area: HomeKit (Home app) Summary: If an action set is owned by a trigger (actionSetType == HMActionSetTypeTriggerOwned), the method to remove an action `removeAction(completionHandler:)` fails with the error code HMErrorCode.operationNotSupported (49). Steps to Reproduce: 1. Create a trigger in the Home app and add actions to that trigger (this will create a trigger-owned action set) 2. Try to remove an action from that action set using the method `removeAction(completionHandler:)` Expected Results: The method should remove the action from the action set and the completion handler should be called with a nil error. Actual Results: The methods fails and the completion handler is called with an error code 49 (HMErrorCode.operationNotSupported). Version: iOS 10 Notes: Configuration: iPhone Simulator Attachments:
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!