Fix timeline crash on the Mastodon quote entity #3596
No reviewers
Labels
No labels
BE Request
Backlog
Better behavior
Blocked by deps
Bug
Code Review
Discussion
Doing
Feature Request / Enhancement
In the shining bright future maybe
It's complicated
MS Edge
Mememoon (or other niche browsers)
Missing API
Missing feature
Missing l10n/i18n
NL1
NL2
NL4
Need to verify on develop
RELEASE BLOCKER
Reassign or Close
Refactor
Regression
Safari
To Do
User story
Waiting on godot
accessibility
better documentation
chore
confirmed
easy ticket
incident
l10n update
mastoapi
mobile
needs design
needs-info
needs-review
stupid
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
pleroma/pleroma-fe!3596
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/mastodon-quote-entity"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Backend develop (3890fbc12) now sends
quoteas a Mastodon 4.4+ entity:{state, quoted_status}, or{state, quoted_status_id}for nested quotes. Whenpleroma.quoteis empty (deleted, hidden or nested quote),parseStatusparsed the wrapper as a status and crashed on the missing account, so the whole timeline page failed ("Error fetching timeline").parseStatusnow reads the quoted status out of the entity and keeps the id of shallow quotes. Aquotethat is a plain status (Akkoma) still works.Testing: new entity normalizer tests (3 fail on develop),
yarn unit-ci,yarn build. Running on lain.com and pleroma.soykaf.com.fuck i forgot about this MR
confirmed this worked, thx all