Skip to content

Conflict with Gutenberg 7.2+ #583

New issue

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

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

Already on GitHub? Sign in to your account

Closed
ryelle opened this issue Jan 22, 2020 · 0 comments · Fixed by #585
Closed

Conflict with Gutenberg 7.2+ #583

ryelle opened this issue Jan 22, 2020 · 0 comments · Fixed by #585

Comments

@ryelle
Copy link
Contributor

ryelle commented Jan 22, 2020

When trying to update Gutenberg on WordCamp.org, I noticed this issue with draft posts… The entire editor crashes 🙁 When I downgrade back to GB 7.1, everything's fine again.

Screen Shot 2020-01-22 at 6 05 23 PM

The error is this:

Error: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
Full stack trace (not actually useful, but for completeness)
at ah (https://example.local/wp-content/plugins/gutenberg/vendor/react-dom.min.b694e242.js?ver=16.9.0:109:220)
    at Ti (https://example.local/wp-content/plugins/gutenberg/vendor/react-dom.min.b694e242.js?ver=16.9.0:145:151)
    at unstable_runWithPriority (https://example.local/wp-content/plugins/gutenberg/vendor/react.min.0212dc62.js?ver=16.9.0:26:340)
    at Ma (https://example.local/wp-content/plugins/gutenberg/vendor/react-dom.min.b694e242.js?ver=16.9.0:52:280)
    at Ia (https://example.local/wp-content/plugins/gutenberg/vendor/react-dom.min.b694e242.js?ver=16.9.0:140:407)
    at ze (https://example.local/wp-content/plugins/gutenberg/vendor/react-dom.min.b694e242.js?ver=16.9.0:118:14)
    at https://example.local/wp-content/plugins/gutenberg/vendor/react-dom.min.b694e242.js?ver=16.9.0:53:49
    at unstable_runWithPriority (https://example.local/wp-content/plugins/gutenberg/vendor/react.min.0212dc62.js?ver=16.9.0:26:340)
    at Ma (https://example.local/wp-content/plugins/gutenberg/vendor/react-dom.min.b694e242.js?ver=16.9.0:52:280)
    at mg (https://example.local/wp-content/plugins/gutenberg/vendor/react-dom.min.b694e242.js?ver=16.9.0:52:496)
    at V (https://example.local/wp-content/plugins/gutenberg/vendor/react-dom.min.b694e242.js?ver=16.9.0:52:431)
    at Sb (https://example.local/wp-content/plugins/gutenberg/vendor/react-dom.min.b694e242.js?ver=16.9.0:213:96)
    at Mg (https://example.local/wp-content/plugins/gutenberg/vendor/react-dom.min.b694e242.js?ver=16.9.0:85:80)
    at e (https://example.local/wp-content/plugins/gutenberg/build/data/index.js?ver=bc42632b6707c08b9e663fb6c198c6ee:1:19737)
    at https://example.local/wp-content/plugins/gutenberg/build/data/index.js?ver=bc42632b6707c08b9e663fb6c198c6ee:1:19821
    at https://example.local/wp-content/plugins/gutenberg/build/data/index.js?ver=bc42632b6707c08b9e663fb6c198c6ee:1:14933
    at Array.forEach ()
    at o (https://example.local/wp-content/plugins/gutenberg/build/data/index.js?ver=bc42632b6707c08b9e663fb6c198c6ee:1:14905)
    at https://example.local/wp-content/plugins/gutenberg/build/data/index.js?ver=bc42632b6707c08b9e663fb6c198c6ee:1:13297
    at Object.p [as dispatch] (https://example.local/wp-content/plugins/gutenberg/build/data/index.js?ver=bc42632b6707c08b9e663fb6c198c6ee:1:7077)
    at e (:1:40553)
    at https://example.local/wp-content/plugins/gutenberg/build/redux-routine/index.js?ver=96084618ab4483323096816057363288:1:9688
    at https://example.local/wp-content/plugins/gutenberg/build/data/index.js?ver=bc42632b6707c08b9e663fb6c198c6ee:1:8473
    at https://example.local/wp-content/plugins/gutenberg/build/data/index.js?ver=bc42632b6707c08b9e663fb6c198c6ee:1:8908
    at dispatch (https://example.local/wp-content/plugins/gutenberg/build/data/index.js?ver=bc42632b6707c08b9e663fb6c198c6ee:1:8202)
    at https://example.local/wp-content/plugins/gutenberg/build/redux-routine/index.js?ver=96084618ab4483323096816057363288:1:9305
    at https://example.local/wp-content/plugins/gutenberg/build/redux-routine/index.js?ver=96084618ab4483323096816057363288:1:5201
    at Array.some ()
    at e (https://example.local/wp-content/plugins/gutenberg/build/redux-routine/index.js?ver=96084618ab4483323096816057363288:1:5176)
    at https://example.local/wp-content/plugins/gutenberg/build/redux-routine/index.js?ver=96084618ab4483323096816057363288:1:5129
    at r.any (https://example.local/wp-content/plugins/gutenberg/build/redux-routine/index.js?ver=96084618ab4483323096816057363288:1:5726)
    at https://example.local/wp-content/plugins/gutenberg/build/redux-routine/index.js?ver=96084618ab4483323096816057363288:1:5201
    at Array.some ()
    at e (https://example.local/wp-content/plugins/gutenberg/build/redux-routine/index.js?ver=96084618ab4483323096816057363288:1:5176)
    at https://example.local/wp-content/plugins/gutenberg/build/redux-routine/index.js?ver=96084618ab4483323096816057363288:1:5124

Steps to Reproduce the Problem

  1. With Gutenberg 7.2 or 7.3
  2. With the custom status module active
  3. Try to edit a draft post
  4. Editor crashes

(Optional) Additional notes

I think I tracked the error down to this line, at least, it works when I comment that line out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant