Skip to content

[HOLD for payment 2023-05-05] [HOLD for payment 2023-04-20] [$1000] Text strings must be rendered within a <Text> component #16683

Closed

Description

@luacmartins

Problem

Coming from Firebase Crashlytics, there are several non-fatal exceptions for Text strings must be rendered within a <Text> component. in v1.2.91. We should fix these.

Why is this important

Guarantees App stability

Solution

Find a way to reproduce the exception and prevent text nodes from being rendered outside of a <Text> component. I suspect that the exception is coming from this line, although I couldn't reproduce the issue.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01ef3651f57da6d5c9
  • Upwork Job ID: 1641170623381450752
  • Last Price Increase: 2023-03-29

Activity

  1. added
    Daily
    Bug
    on Mar 29, 2023
  2. self-assigned this
    on Mar 29, 2023
  3. MelvinBot commented on Mar 29, 2023

    @MelvinBot
    Contributor

    Triggered auto assignment to @miljakljajic (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

  4. MelvinBot commented on Mar 29, 2023

    @MelvinBot
    Contributor

    Bug0 Triage Checklist (Main S/O)

    • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
    • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
      • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
    • This bug is reproducible using the reproduction steps in the OP. S/O
      • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
      • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
    • This issue is filled out as thoroughly and clearly as possible
      • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
    • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync
  5. added
    External
    on Mar 29, 2023
  6. changed the title [-]Text strings must be rendered within a <Text> component[/-] [+][$1000] Text strings must be rendered within a <Text> component[/+] on Mar 29, 2023
  7. MelvinBot commented on Mar 29, 2023

    @MelvinBot
    Contributor
  8. MelvinBot commented on Mar 29, 2023

    @MelvinBot
    Contributor

    Current assignee @miljakljajic is eligible for the External assigner, not assigning anyone new.

  9. MelvinBot commented on Mar 29, 2023

    @MelvinBot
    Contributor

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav (External)

  10. added
    Help Wanted
    on Mar 29, 2023
  11. MelvinBot commented on Mar 29, 2023

    @MelvinBot
    Contributor

    Current assignee @luacmartins is eligible for the External assigner, not assigning anyone new.

  12. allroundexperts commented on Mar 29, 2023

    @allroundexperts
    Contributor

    @luacmartins Is it possible to share the Crashlytics logs?

  13. 50 remaining items

  14. added
    Reviewing
    on Apr 27, 2023
  15. luacmartins commented on Apr 27, 2023

    @luacmartins
    ContributorAuthor

    PR created #18069

  16. aldo-expensify commented on Apr 27, 2023

    @aldo-expensify
    Contributor

    Ohh Yes that's a good idea. @luacmartins do you want me to raise a PR? Do we need to document this in the Style guide as well?

    There is this related thing in the guideline: https://github.com/Expensify/App/blob/main/contributingGuides/STYLE.md#important-note

    but it is talking about it in the context of ternaries

  17. mananjadhav commented on Apr 27, 2023

    @mananjadhav
    Collaborator

    I think the check should then suffice.

  18. mananjadhav commented on Apr 27, 2023

    @mananjadhav
    Collaborator

    @luacmartins @aldo-expensify @miljakljajic I've posted a comment on all the PRs so that the contributors are aware about this in the future.

  19. added
    Weekly
    and removed
    Daily
    on Apr 28, 2023
  20. changed the title [-][HOLD for payment 2023-04-20] [$1000] Text strings must be rendered within a <Text> component[/-] [+][HOLD for payment 2023-05-05] [HOLD for payment 2023-04-20] [$1000] Text strings must be rendered within a <Text> component[/+] on Apr 28, 2023
  21. removed
    Reviewing
    on Apr 28, 2023
  22. MelvinBot commented on Apr 28, 2023

    @MelvinBot
    Contributor

    Reviewing label has been removed, please complete the "BugZero Checklist".

  23. MelvinBot commented on Apr 28, 2023

    @MelvinBot
    Contributor

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.7-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2023-05-05. 🎊

    After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

    • External issue reporter
    • Contributor that fixed the issue
    • Contributor+ that helped on the issue and/or PR

    As a reminder, here are the bonuses/penalties that should be applied for any External issue:

    • Merged PR within 3 business days of assignment - 50% bonus
    • Merged PR more than 9 business days after assignment - 50% penalty
  24. MelvinBot commented on Apr 28, 2023

    @MelvinBot
    Contributor

    BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

    • [@mananjadhav] The PR that introduced the bug has been identified. Link to the PR:
    • [@mananjadhav] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
    • [@mananjadhav] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
    • [@mananjadhav] Determine if we should create a regression test for this bug.
    • [@mananjadhav] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
    • [@miljakljajic] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
  25. mananjadhav commented on May 1, 2023

    @mananjadhav
    Collaborator

    I think we're good to close this one out? @miljakljajic the second checklist is not needed. We merged a PR to update the checklist.

  26. miljakljajic commented on May 2, 2023

    @miljakljajic
    Contributor

    Makes sense, closing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugExternalWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions