Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fixes issue with migrating category settings to the server #583

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

ErikBjare
Copy link
Member

@ErikBjare ErikBjare commented Jun 5, 2024

@ErikBjare ErikBjare changed the title fix: started investigating solution for https://github.com/ActivityWa… fix: fixes issue with migrating category settings to the server Jun 5, 2024
Copy link

codecov bot commented Jun 5, 2024

Codecov Report

Attention: Patch coverage is 9.09091% with 10 lines in your changes missing coverage. Please review.

Project coverage is 26.13%. Comparing base (021acc4) to head (07bcda8).
Report is 3 commits behind head on master.

Files Patch % Lines
src/stores/settings.ts 9.09% 10 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #583      +/-   ##
==========================================
- Coverage   26.15%   26.13%   -0.02%     
==========================================
  Files          27       27              
  Lines        1629     1630       +1     
  Branches      285      273      -12     
==========================================
  Hits          426      426              
- Misses       1177     1178       +1     
  Partials       26       26              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@BelKed BelKed left a comment

Choose a reason for hiding this comment

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

Manually verified, works as intended. The error doesn't show up in the UI and the data is displayed normally :)

@ErikBjare
Copy link
Member Author

@BelKed Did you check the codepath by reproducing the error? (possibly by removing the entry in the server-side settings)

@ErikBjare ErikBjare merged commit 54769b7 into master Jun 10, 2024
8 checks passed
@ErikBjare ErikBjare deleted the dev/fix-serverside-categories-migration branch June 10, 2024 14:16
@BelKed
Copy link
Contributor

BelKed commented Jun 10, 2024

@BelKed Did you check the codepath by reproducing the error? (possibly by removing the entry in the server-side settings)

Yes, exactly:

  1. Removed the classes entry from the database.
  2. Added an empty classes entry to the localStorage (localStorage.setItem("classes", ""))
  3. The error doesn't appear anymore :)

@ErikBjare
Copy link
Member Author

Awesome, triggering a build for v0.13.1 now.

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.

TypeError: e.slice().map is not a function error after updating to version 0.13
2 participants