Deployment of console APP having push notification with no fields added - throws Error
Last updated 2016-07-28 ·Reference W-2497977 ·Reported By 7 users
When you deploy a CustomApplication object that has PushNotification with an empty fieldNames parameter it will fail. This situation happens when you configure push notifications on an object but don't specify any fields in the app settings.
1) Set up two orgs between which you can do deploys. Use Workbench or Ant or Changesets.
2) In one org create an app. Add an object to push notification settings but don't add any fields.
3) Deploy this app to another org. Either by ant, workbench, or via changesets.
4) Notice you get an error like "Invalid Push Notifications: 0."
Workaround involves a manual change to the deployment files to add a field to push notifications and then remove them afterwards. Or to disable push and then manually re-enable it after the deployment in both orgs.
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.