-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Composer broke riot - infinispinner on startup #7145
Copy link
Copy link
Closed
Labels
P1S-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundSeverely degrades major functionality or product features, with no satisfactory workaroundT-Defect
Description
Uncaught TypeError: Cannot read property 'split' of undefined
at Object.serialize (MessageComposerInput.js:198)
at renderer.js:303
at immutable.js:4418
at immutable.js:3905
at immutable.js:1377
at ArrayMapNode.iterate.HashCollisionNode.iterate (immutable.js:1726)
at Map.__iterate (immutable.js:1375)
at Set.__iterate (immutable.js:3905)
at Set.reduce (immutable.js:4413)
at Markdown.serializeLeaves (renderer.js:293)
at immutable.js:3016
at List.__iterate (immutable.js:2206)
at IndexedIterable.mappedSequence.__iterateUncached (immutable.js:3015)
at seqIterate (immutable.js:604)
at IndexedIterable.IndexedSeq.__iterate (immutable.js:320)
at IndexedIterable.toArray (immutable.js:4258)
at List [as constructor] (immutable.js:2065)
at reify (immutable.js:3570)
at List.map (immutable.js:4401)
at Markdown.serializeNode (renderer.js:237)
at renderer.js:241
at immutable.js:3016
at List.__iterate (immutable.js:2206)
at IndexedIterable.mappedSequence.__iterateUncached (immutable.js:3015)
at seqIterate (immutable.js:604)
at IndexedIterable.IndexedSeq.__iterate (immutable.js:320)
at IndexedIterable.toArray (immutable.js:4258)
at List [as constructor] (immutable.js:2065)
No idea what happened, but below are the things I did before the thing died.
- In #riot, notice a bug report about how the
</>button doesn't work like it used to - Disable markdown
- Press the
</>button - Notice there's no code block, press the button again
- Press it again, thinking maybe it'll work with text
- Type "test" followed by a shift+enter for a newline and start typing "hello"
- Select all, backspace
- Click the code button again (to disable)
- Switch to an encrypted private chat with someone
- Turn on markdown
- Try to switch back to #riot
- Notice it's not working, see the split error in the console log
- Refresh the page, thinking it'll just go away
- Infinispinner, with the same split error in the console - followed by React falling apart
- Open a new issue on riot-web
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1S-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundSeverely degrades major functionality or product features, with no satisfactory workaroundT-Defect