Skip to content
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

Nh/fix 1884 listener trigger #1892

Merged
merged 1 commit into from
Dec 11, 2015
Merged

Conversation

nhachicha
Copy link
Collaborator

register RealmObject created with + add their UnitTest

  • copyOrUpdate
  • createAllFromJson
  • createObjectFromJson
  • createOrUpdateAllFromJson
  • createOrUpdateObjectFromJson
  • add more unit test to cover callback trigger for the above methods

@nhachicha nhachicha added the WIP label Dec 4, 2015
@nhachicha nhachicha force-pushed the nh/fix-1884-listener-trigger branch from c03f5c0 to 88e61b3 Compare December 4, 2015 12:05
@kneth kneth added the P1 label Dec 4, 2015
@nhachicha nhachicha self-assigned this Dec 8, 2015
@nhachicha nhachicha removed the WIP label Dec 10, 2015
@nhachicha
Copy link
Collaborator Author

@realm/java

@@ -74,7 +74,11 @@ public DynamicRealmObject createObject(String className) {
checkIfValid();
Table table = schema.getTable(className);
long rowIndex = table.addEmptyRow();
return get(DynamicRealmObject.class, className, rowIndex);
DynamicRealmObject dynamicRealmObject = get(DynamicRealmObject.class, className, rowIndex);
if (handlerController != null) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is also part of the above get method?

@cmelchior
Copy link
Contributor

👍

@realm/java

@@ -677,4 +677,9 @@ public static void exitOrThrow(final ExecutorService executorService,
throw throwable[0];
}
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for moving it!

@kneth
Copy link
Contributor

kneth commented Dec 11, 2015

Looks fine to me.

@zaki50
Copy link
Contributor

zaki50 commented Dec 11, 2015

👍 apart from minor indent issue

@zaki50
Copy link
Contributor

zaki50 commented Dec 11, 2015

fixed the indent issue.
👍

@nhachicha nhachicha force-pushed the nh/fix-1884-listener-trigger branch from 55ab4e0 to 133cd43 Compare December 11, 2015 11:42
@nhachicha
Copy link
Collaborator Author

👍 squashed

@cmelchior
Copy link
Contributor

retest this please

2 similar comments
@nhachicha
Copy link
Collaborator Author

retest this please

@nhachicha
Copy link
Collaborator Author

retest this please

nhachicha added a commit that referenced this pull request Dec 11, 2015
@nhachicha nhachicha merged commit 4938493 into release/0.86 Dec 11, 2015
@nhachicha nhachicha removed the P1 label Dec 11, 2015
@nhachicha nhachicha deleted the nh/fix-1884-listener-trigger branch December 11, 2015 14:09
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants