Skip to content
New issue

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

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

Already on GitHub? # to your account

Fixed undefined id error when no items are available for relationship field #3071

Conversation

rinodrummer
Copy link
Contributor

Fixes the first console error described by me in #3062:

create:572 Uncaught TypeError: Cannot read property 'id' of undefined
    at Object.success (create:572)
    at l (bundle.js?v=4.1.15@6c751de946a9c8511dd32eb7bfa3ca6a568849f5:2)
    at Object.fireWith [as resolveWith] (bundle.js?v=4.1.15@6c751de946a9c8511dd32eb7bfa3ca6a568849f5:2)
    at T (bundle.js?v=4.1.15@6c751de946a9c8511dd32eb7bfa3ca6a568849f5:2)
    at XMLHttpRequest.<anonymous> (bundle.js?v=4.1.15@6c751de946a9c8511dd32eb7bfa3ca6a568849f5:2)

@tabacitu tabacitu requested a review from pxpm July 25, 2020 11:12
@tabacitu tabacitu added the Possible Bug A bug that was reported but not confirmed yet. label Jul 25, 2020
@tabacitu
Copy link
Member

Whoop-whoop! Thanks for the PR, I'll let @pxpm review this since fetch_or_create is his baby.

Cheers!

@tabacitu
Copy link
Member

tabacitu commented Aug 3, 2020

Sorry - this got closed automatically because I merged #3064 . Please let's create another PR with this if that alone doesn't fix both problems. @pxpm please let @rinodrummer know if that's the case.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Possible Bug A bug that was reported but not confirmed yet.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants