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.

Clicking on the jump to unreads button throws a `Failed to load timeline position` error and dumps me in a blank timeline

See original GitHub issue

Clicking on the jump to unreads button throws a Failed to load timeline position error and dumps me in a blank timeline

Related to:

Steps to reproduce

  1. Visit a room

  2. Click the “Jump to first unread message.” ^ up-arrow

  3. Failed to load timeline position error modal is thrown up

    Failed to load timeline position

    Tried to load a specific point in this room’s timeline, but was unable to find it.

  4. After exiting out of the modal, the timeline is blank and no way to scroll

  5. Have to switch rooms to get the timeline again


Reproduction/rage-shake logs: https://github.com/matrix-org/element-web-rageshakes/issues/10392

I was in the !ltpmbfSHehPTwnLDNS:jki.re room and clicked on the “Jump to first unread message.” arrow and got the Failed to load timeline position error modal. With the following error in the devtools console.

Relevant code for the error: src/components/structures/TimelinePanel.tsx#L1219-L1244

Error loading timeline panel at $iR-8DJRGNhmIpDFDHmRy70gUTurU77eCba-Jt5YIXbo: Error: getEventTimeline result didn't include requested event
overrideMethod @ react_devtools_backend.js:4061
consoleObj.<computed> @ rageshake.ts:65
(anonymous) @ instrument.js:111
(anonymous) @ logger.ts:50
onError @ TimelinePanel.tsx:1181
Promise.then (async)
loadTimeline @ TimelinePanel.tsx:1243
(anonymous) @ TimelinePanel.tsx:1003
(anonymous) @ RoomView.tsx:1659
...

I’m not sure what room the $iR-8DJRGNhmIpDFDHmRy70gUTurU77eCba-Jt5YIXbo event pertains to. Is there a way to look it up and tell which room it actually belongs to?

Outcome

What did you expect?

Jump to first unread button jumps me to whatever the unreads are for that room. Or not be shown if it was for another room and this room doesn’t have any unreads.

What happened instead?

Error modal is shown for a situation that probably shouldn’t occur in the first place.

Operating system

Windows 10

Browser information

Chrome 97.0.4692.99

URL for webapp

https://develop.element.io/

Application version

Element version: 64242a004eb7-react-78e78292cb62-js-b07457726bf5 Olm version: 3.2.8

Homeserver

matrix.org

Will you send logs?

Yes ->

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:3
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
axelsimoncommented, Jun 30, 2022

This just happened to me (rageshake-sent the logs), but interestingly, clicking out of the room, back into the room and then clicking the “jump to first unread message” button worked fine on the second try, even though the unread-messages count had reset to 0. Strange.

1reaction
davidmehrencommented, Feb 12, 2022

I just experienced this issue on Desktop Nightly and rageshaked, I think @thegcat also encountered it recently.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix list for IBM WebSphere Application Server V8.5
IBM WebSphere Application Server provides periodic fixes for the base and Network Deployment editions of release V8.5. The following is a complete listing ......
Read more >
Timeline does not render and shows "Records could not be ...
Symptom. Timeline in UCI does not render displaying the following error: "Records could not be loaded because of an unexpected error". This looks...
Read more >
REDCap-Changelog_9.2.1.docx
Bug fix: When attempting to upload a CSV import file for Automated Survey Invitations on the Online Designer, it would fail with no...
Read more >
ServiceDesk Plus readme, release notes, and version history
SD-97422 : Unable to add new service categories in non-IT help desk instances. SD-104903 : Using the Switch node in change workflow throws...
Read more >
The Complete Stories - Vanderbilt University
tolerable, incapable of becoming history, breaking short the chain of the ... position, the wrestler's last resort, I asked: "Excuse me, but to...
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