wordpress-mobile / wordpress-mobile/AztecEditor-iOS
Bug:The swap method swizzledIsEqual in the NSParagraphStyle file caused the host program to crash
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 669
- Forks
- 153
- Avg merge
- 11h 27m
- Merged PRs (30d)
- 4
Description
The following is a screenshot of the issue of crashing in the project, which can cause a dead loop in the project and keep calling the swizzledIsEqual method;
Start the project ->Open the editor page (initialize Aztec. EditorView) ->Then exit the editor page and open other pages in the project. The dead loop in the screenshot will appear, and the project will crash
Contributor guide
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.
Research direction
Start by reproducing the crash by initializing Aztec.EditorView, leaving the editor, and opening another page. Inspect the NSParagraphStyle swizzling around swizzledIsEqual and use the reported call loop to identify the failure. Done means the navigation sequence no longer loops or crashes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100