-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
RLMException', reason: 'Invalid value for property' #5364
Comments
@ralfcheung Generally, Some method and property definitions are missing in your code snippet, such as Could you please provide executable code that can reproduce the problem? With that, we can give you the right answer. |
even if I strip down to the bare minimum. it still crashes. `
func testMakeLinka() {
` the initial value of pac is 0 (in integer), I forced pac = 3 just to show I didn't accidentally set the value to string or other incorrect types, I even tried explicitly set pac = Int(3) and it also crashes |
@ralfcheung Please share an entire executable project that reproduces the issue. You can send it to |
Do you have any functions declared on your |
you know what, there is, and it returns a String for whatever reasons. and that worked in swift 3 |
When Realm uses Key-Value Coding to retrieve the value of the |
Expected Results
Write the object without error/crash
Steps to Reproduce
call Linka.saveLinka("123", lock_mac_address: "ad", lock_name: "asdfsdf", allow_override: true)
Version of Realm and Tooling
ProductName: Mac OS X
ProductVersion: 10.13
BuildVersion: 17A362a
/Applications/Xcode 9.app/Contents/Developer
Xcode 9.0
Build version 9A235
/usr/local/bin/pod
1.3.1
Realm (2.10.1)
RealmSwift (2.10.1)
/bin/bash
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin17)
(not in use here)
/usr/bin/git
git version 2.13.5 (Apple Git-94)
Realm framework version: 2.10.1
Xcode version: 9
iOS/OSX version: 11.0
Swift version: 4
Dependency manager + version: Cocoapods 1.3.1
The text was updated successfully, but these errors were encountered: