rollbar / rollbar/rollbar-react-native

undefined property not being propagated to UI

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

Nobody has claimed this yet.

Dominant language
Objective-C
Stars
81
Forks
34
PR merge metrics
No merged PRs in 30d

Description

Let's say I send objects as part of my extra arguments, something like:

 {
    "prop1": "val1", 
    "prop2": "val2", 
    "prop3": "val3", 
}

If one of those values turns out to be undefined, e.g.:

 {
    "prop1": "val1", 
    "prop2": undefined, 
    "prop3": "val3", 
}

That value won't show up in Rollbar, the raw JSON in the occurrence would show:

 {
    "prop1": "val1", 
    "prop3": "val3", 
}

Is this known and expected? We'd certainly prefer for it to be propagated and shown.

Contributor guide

No contributing guide indexed for this repository

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

The report names no source file, test, or entry point. Start by reproducing the issue with an extra object containing an undefined value and inspect the resulting Rollbar occurrence; done means the property and its undefined value are propagated and shown, or the behavior is documented as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile-dev, observability
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.