Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-6063

Passing "badge" parameters causes 500 error.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Minor
    • None
    • None
    • None
    • None

    Description

      Passing in the badge parameter as a String in the JSON payload to the server causes a 500 error to be returned.

      Sample JSON payload:
      {
      criteria:

      { alias: [param.alias.toString()], }

      ,
      message:

      { alert: params.text, badge: params.badge.toString() || '0', }

      }

      If badge is not a String the operation is fine, but the docs state it's a String: https://github.com/aerogear/aerogear-unifiedpush-nodejs-client/blob/master/README.md

      Attachments

        Activity

          People

            lholmqui@redhat.com Lucas Holmquist
            eshortis Evan Shortiss (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: