Waves: Block breaks in the site editor
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript, react
- Domain
- frontend
Research direction
Reproduce the error by inserting the Waves block in the site editor, then start with waves.js at init (line 176) and run (line 368), followed by edit.js at line 189. Compare this path with the working frontend and post editor cases; done means the block inserts in the site editor without the unknown attachment type error.
Written by the indexing model from the issue text.
Description
I'm getting this error when inserting the waves block in the site editor. It seems to work fine in the frontend and post editor.
Uncaught Error: unknown attachment type
createFramebufferInfo framebuffers.js:242
createFramebufferInfo framebuffers.js:197
init waves.js:176
run waves.js:368
Edit edit.js:189
commitHookEffectListMount react-dom.js:23160
commitPassiveMountOnFiber react-dom.js:24936
commitPassiveMountEffects_complete react-dom.js:24901
commitPassiveMountEffects_begin react-dom.js:24888
commitPassiveMountEffects react-dom.js:24876
flushPassiveEffectsImpl react-dom.js:27049
flushPassiveEffects react-dom.js:26994
performSyncWorkOnRoot react-dom.js:26086
flushSyncCallbacks react-dom.js:12052
commitRootImpl react-dom.js:26969
commitRoot react-dom.js:26692
finishConcurrentRender react-dom.js:25991
performConcurrentWorkOnRoot react-dom.js:25819
workLoop react.js:2653
flushWork react.js:2626
performWorkUntilDeadline react.js:2920
<anonymous> wp-polyfill.js:1977
run wp-polyfill.js:1953
listener wp-polyfill.js:1964
EventHandlerNonNull* wp-polyfill.js:2000
__webpack_require__ wp-polyfill.js:26
<anonymous> wp-polyfill.js:1901
__webpack_require__ wp-polyfill.js:26
<anonymous> wp-polyfill.js:101
__webpack_require__ wp-polyfill.js:26
<anonymous> wp-polyfill.js:90
<anonymous> wp-polyfill.js:93
<anonymous> wp-polyfill.js:2097
[framebuffers.js:242:12](webpack://twgl/src/framebuffers.js)
createFramebufferInfo framebuffers.js:242
forEach self-hosted:203
createFramebufferInfo framebuffers.js:197
init waves.js:176
run waves.js:368
Edit edit.js:189
commitHookEffectListMount react-dom.js:23160
commitPassiveMountOnFiber react-dom.js:24936
commitPassiveMountEffects_complete react-dom.js:24901
commitPassiveMountEffects_begin react-dom.js:24888
commitPassiveMountEffects react-dom.js:24876
flushPassiveEffectsImpl react-dom.js:27049
flushPassiveEffects react-dom.js:26994
performSyncWorkOnRoot react-dom.js:26086
flushSyncCallbacks react-dom.js:12052
commitRootImpl react-dom.js:26969
commitRoot react-dom.js:26692
finishConcurrentRender react-dom.js:25991
performConcurrentWorkOnRoot react-dom.js:25819
workLoop react.js:2653
flushWork react.js:2626
performWorkUntilDeadline react.js:2920
apply self-hosted:2366
<anonymous> wp-polyfill.js:1977
run wp-polyfill.js:1953
listener wp-polyfill.js:1964
(Async: EventHandlerNonNull)
<anonymous> wp-polyfill.js:2000
__webpack_require__ wp-polyfill.js:26
<anonymous> wp-polyfill.js:1901
__webpack_require__ wp-polyfill.js:26
<anonymous> wp-polyfill.js:101
__webpack_require__ wp-polyfill.js:26
<anonymous> wp-polyfill.js:90
<anonymous> wp-polyfill.js:93
<anonymous> wp-polyfill.js:2097
- Dominant language
- JavaScript
- Stars
- 131
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Automattic/block-experiments
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Automattic/block-experiments#343 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
Automattic/block-experiments#342 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Automattic/block-experiments#339 · 4 comments ·
-
Grainy Gradients Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Automattic/block-experiments#336 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Automattic/block-experiments#327 · 1 comment ·
All issues in Automattic/block-experiments
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·