Many times afterSave/beforeSave triggers don't update data on Firebase
I'm not using afterSave and beforeSave triggers for the time being so the default migrator.afterSave and migrator.beforeSave are being used as triggers.
The initial bulk import works but after that when I use the app and add data to Parse, it doesn't show up on Firebase on many occasions. Here are the list of scenarios:
-
When a new object is created on Parse, it doesn't show up on Firebase unless updated with the same data. If this is WAI, it should have a migrationStatus of 2 or 3, right? It's always undefined. Correct me if I'm wrong on the migrationStatus point but this does not seem right.
-
Many times the object updates on Parse and doesn't update on Firebase. It's migrationStatus could be 1 or undefined, the migrationStatus field is totally random, but all I've seen is 1 or undefined.
-
Sometimes the object doesn't update on Parse but updates on Firebase, this was rare but this was just the weirdest of the errors. This definitely should not be happening.
This issue is about points 1 and 2. I have mentioned 3 because it was just another odd thing that happened.
I have not made any changes in the code except adding migrateObject function for 2 Objects.