IceCream icon indicating copy to clipboard operation
IceCream copied to clipboard

Crash with previous records containing non ASCII characters

Open dbmrq opened this issue 3 years ago • 2 comments

I just commented about this here: https://github.com/caiyue1993/IceCream/pull/191#issuecomment-822107108

I have an app on the App Store running with IceCream for a while now, and my primary keys already had non ASCII characters. Now I tried upgrading to IceCream's latest version and it crashes when trying to sync because primary keys can't contain ASCII characters anymore. However, the records are already on iCloud with those keys! IceCream will fetch the records from iCloud and then crash because they contain those characters. But I can't even change them before fetching them.

dbmrq avatar Apr 19 '21 01:04 dbmrq

Are there any workarounds to this?

aehlke avatar May 03 '21 14:05 aehlke

@aehlke For now I just forked the repo and added the transform suggested in the first comment of the PR mentioned above (#191). But it's not ideal.

dbmrq avatar May 06 '21 02:05 dbmrq