Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Queue does not pick up task with JSON object as data #107

Open
raghavdelhi opened this issue Jan 27, 2017 · 0 comments
Open

Queue does not pick up task with JSON object as data #107

raghavdelhi opened this issue Jan 27, 2017 · 0 comments

Comments

@raghavdelhi
Copy link

raghavdelhi commented Jan 27, 2017

Version info

Firebase:
[email protected]
Firebase Queue:
[email protected]
Node.js:
6.9.1

Other (e.g. operating system) (if applicable):
Mac OS X El Capitan

Test case

Am pushing a task with a JSON object as part of the data:

"-KbUah0a67VA82hXBSMp" : {
          "contactNumbers" : {
            "<phone number 1>" : {
              "familyName" : "",
              "fullName" : "Aditya Saraswati ",
              "givenName" : "Aditya Saraswati",
              "keywords" : {
                "aditya" : true,
                "saraswati" : true
              }
            },
            "<phone number 2>" : {
              "familyName" : "",
              "fullName" : "Aditya Saraswati ",
              "givenName" : "Aditya Saraswati",
              "keywords" : {
                "aditya" : true,
                "saraswati" : true
              }
            }
          },
          "deviceID" : "079A87D0-CCCF-4DD7-9D0E-B51AAD5D9E71",
          "taskID" : "-KbUah0a67VA82hXBSMp",
          "type" : "add",
          "uid" : "iqfJgUElLPPZK1074WCepcrwCJP2"
        }
      }

Expected behavior

Expected the queue to pick up the task. In fact, when I tested this code 1 - 2 months back it was working perfectly fine.

Actual behavior

The queue does not pick up the task if it contains a JSON object as data. If I push the same task as above without the "contactNumbers" property, the task is picked up and begins executing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant