User table lose data when add relation

Hi,

I have a table with 1:N relation to User Table, each time i try to add/remove currentUser to/from relation, all DateTime fields gets null.

this is how I’am trying to add relation:


var trackedByUsers : [BackendlessUser]?

trackedByUsers?.append(Backendless.sharedInstance().userService.currentUser)


Backendless.sharedInstance().persistenceService.update(self, response: { (success) -> Void in


    print(success)


    }) { (fault) -> Void in


    print(fault)

}

where “self” is a model class of the table that contains relation.

Hi Victor,

Your problem is similar to this thread, please, investigate it.
To help you with this issue you should give the whole implementation of “self” class, and some sample code - how you operate with it (here or to support@backendless.com).

Regards,
Slava