wordpress-mobile / wordpress-mobile/WordPress-iOS
Disconnecting app from web admin security page can cause app crash
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 3.9k
- Forks
- 1.2k
- Avg merge
- 23h 51m
- Merged PRs (30d)
- 58
Description
Expected behavior
After the app has been disconnected, every attempt of an auth-required action displays a prompt to authenticate.
Actual behavior
After the app has been disconnected, the second attempt of an auth-required action causes the app to crash.
Steps to reproduce the behavior
- Log into WPCom account using the WPiOS app.
- Open the Posts list within the app.
- Disconnect the app connection via the web admin page: https://wordpress.com/me/security
- Tap Edit on an individual post. (attached video below starts here)
- Dismiss the auth prompts.
- Tap Edit on an individual post.
Tested on iPhone 11 Pro, iOS 14.6, WPiOS 17.6.0.3
https://user-images.githubusercontent.com/438664/123324876-f5771000-d4fc-11eb-83f7-121817bf428b.mov
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 issue in WPiOS 17.6.0.3 on iOS 14.6 using the listed WordPress.com security-page disconnect steps. Trace the second auth-required Edit attempt after dismissing the prompts; done means the app no longer crashes and each attempt displays an authentication prompt.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- authentication, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100