Skip to content

fix: fix coredata crash on primary course - #518

Merged
volodymyr-chekyrta merged 1 commit into
openedx:developfrom
edx:upstream-develop-crashfix-2
Sep 30, 2024
Merged

fix: fix coredata crash on primary course#518
volodymyr-chekyrta merged 1 commit into
openedx:developfrom
edx:upstream-develop-crashfix-2

Conversation

@rnr

@rnr rnr commented Sep 6, 2024

Copy link
Copy Markdown
Contributor

This PR fixes the crash with coredata. Although, I'm not able to reproduce the crash but from dry run it it can occur because of deleting the data async and right before saving new data and expecting the data will be deleted.

Crash Link: https://console.firebase.google.com/u/1/project/openedx-mobile/crashlytics/app/ios:org.edx.mobile/issues/cb09ae273338d6fa32acb9f64effefbf?time=last-seven-days&types=crash&versions=6.0.0%20(2)&sessionEventKey=f4c972ede3fd4c18901af18a71e6b702_1979319760445579771

Screenshot 2024-08-09 at 8 03 46 AM

@rnr rnr changed the title fix: fix coredata crash on primary course (#64) fix: fix coredata crash on primary course Sep 6, 2024

@volodymyr-chekyrta volodymyr-chekyrta left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍
The best way to handle this would probably be to convert it to an async await function, but we can do that later for the whole class.

@volodymyr-chekyrta
volodymyr-chekyrta merged commit e85e970 into openedx:develop Sep 30, 2024
@rnr
rnr deleted the upstream-develop-crashfix-2 branch October 7, 2024 10:20
IvanStepanok pushed a commit to raccoongang/openedx-app-ios that referenced this pull request Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants