question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug 7.5.3-beta.0 - Reset with nested list causes app to crash

See original GitHub issue

Describe the bug If we use reset and set a form value to an object that contains an array as a property and use <Controller/> with the name property matching the input path, then the library will throw an uncaught exception.

To Reproduce Steps to reproduce the behavior:

  1. Go to the sandbox
  2. Notice the error
  3. If you don’t see the error then click the refresh button in code sandbox.

Codesandbox link (Required) https://codesandbox.io/s/objective-beaver-49w1t?file=/src/App.js

Expected behavior This should still work as it does in the non-deep merge version of the library.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
wdfinchcommented, May 13, 2021

Looks good! Thanks so much for this. I really appreciate it!

0reactions
bluebill1049commented, May 13, 2021

No worries @wdfinch 👌

Read more comments on GitHub >

github_iconTop Results From Across the Web

SwiftUI List reload causes crash | Apple Developer Forums
I get a crash when reloading a List based on some search results. The results may change out the sections and rows. The...
Read more >
Crash when reset from nested navigator · Issue #6715 - GitHub
The following exception is thrown when tries to reset app to top-level from nested navigator: TypeError: undefined is not an object (evaluating ...
Read more >
Bug listing with status RESOLVED with resolution UPSTREAM ...
Bug :6292 - "loadkeys broken, or kernel memory garbled!!! ... and fonts in logs causing crash" status:RESOLVED resolution:UPSTREAM severity:minor · Bug:47294 ...
Read more >
Why seems Python to crash when I create a nested list of ...
Lists, unlike matrices, have variable size and start empty, so accessing the third element of a new list is meaningless.
Read more >
PHP 5 ChangeLog
Fixed bug #77143 (Heap Buffer Overflow (READ: 4) in phar_parse_pharfile). (CVE-2018-20783). Version 5.6.38. 13 Sep 2018. Apache2: Fixed bug ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found