wordpress-mobile / wordpress-mobile/WordPress-iOS

Under certain circumstances, the app crashes when tapping a push notification

Open
#20,850 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Pri] Medium [Type] Crash Core Data Notifications
Dominant language
Swift
Stars
3.9k
Forks
1.2k
Avg merge
23h 51m
Merged PRs (30d)
58

Description

Sentry Issue: JETPACK-IOS-GR

Unresolved Core Data save error (Main Context): Unknown error (domain: NSCocoaErrorDomain code: 132001, No se ha podido completar la operación. (Error de Cocoa 132001.) on null.null
  File "ContextManager+ErrorHandling.swift", line 92, in ContextManager.handleSaveError
  File "ContextManager+ErrorHandling.swift", line 75, in ContextManager.internalSave
  File "ContextManager.swift", line 228, in ContextManager.save
  File "<compiler-generated>", in thunk for closure
  File "<compiler-generated>", in thunk for closure
...
(99 additional frame(s) were not displayed)
Description

TBD

Steps to reproduce

TBD

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Sentry trace and the referenced ContextManager+ErrorHandling.swift locations, especially handleSaveError at line 92 and internalSave at line 75. Investigate the Core Data save failure when tapping a push notification; done means the crash is reproduced and the unresolved save error no longer occurs in that flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
databases, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.