Meteor-Community-Packages / Meteor-Community-Packages/raix-push

Client Cordova.js Line:88 data.additionalData.ejson undefined type error

Open
#373 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
505
Forks
191
PR merge metrics
No merged PRs in 30d

Description

Client/Cordova.js
Line:88

if data.additionalData is undefined
then ejson cannot read the property which causes it to error out, should have better handling

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at Client/Cordova.js line 88 and inspect the access to data.additionalData.ejson. Reproduce the client error with data.additionalData undefined, then verify that this case is handled without attempting to read ejson and no longer throws a type error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
mobile-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.