Marc Boquet

Results 8 comments of Marc Boquet

Is it possible that `EKMapper` modifies `postId` somehow? The other code looks good if you switched to `instanceWithPrimaryKey` instead of alloc-init.

Yeah that shouldn't generate errors, no. It's very similar to what I'm doing, the main difference is that I don't use an `existingLinks` array, all my instances are already loaded...

Based on the errors seems like it's doing an insert when should be doing an update? Maybe the logic that determines it ([line 873 in master](https://github.com/marcoarment/FCModel/blob/154d24f89e20225529a050f67146837585cfc528/FCModel/FCModel.m#L873)) is failing somehow? If...

It seems that the DB thread is `3613` but you have two other threads `5f0f` and `60b` where the "INSERTING WITH COLUMNS" code is called. Is it possible that the...

Usually concurrency is fine, since DB access is synchronous. But seems like you found an edge case. As far as I understand the issue is: 1. Two threads call `save`...

Sure! Email is marc.boquet at gmail

Thanks Andreas, I'm not using paymill any more, but feel free to open a Pull Request and I'll merge it.

OK, I'll do that and leave this issue open, if someone wants to send a PR that would be great.