Skip to content

Allowing to re-save installation if LDS is enabled #1125

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

Merged

Conversation

hermanliang
Copy link
Contributor

Related Issue
parse-community/Parse-SDK-Android#605: Re-save installation is allowed if LDS is enabled

Related PR
parse-community/Parse-SDK-Android#607: Re-save installation is allowed if LDS is enabled
parse-community/Parse-SDK-Android#611: Not allowing setObjectId() in ParseInstallation

In this PR

  1. setObjectId is not allowed in PFInstallation for safety purpose.
  2. If installation is removed on the server, the installation data will attempt to resave even if LDS is enabled.

@rogerhu

@rogerhu
Copy link

rogerhu commented Mar 28, 2017

@flovilmart

@hermanliang hermanliang force-pushed the resave-installation-lds-enabled branch from dede394 to d974128 Compare March 28, 2017 07:45
@hermanliang hermanliang force-pushed the resave-installation-lds-enabled branch from 3e3f1b1 to 9f38cdf Compare March 28, 2017 13:52
@flovilmart
Copy link
Contributor

Should we add tests for that? Seems dangerous to add this behaviour without corresponding tests.

@hermanliang
Copy link
Contributor Author

@flovilmart related unit test is added
Thanks

@hermanliang hermanliang force-pushed the resave-installation-lds-enabled branch from f15e1d1 to e9f48f4 Compare April 19, 2017 09:25
@hermanliang hermanliang force-pushed the resave-installation-lds-enabled branch from e9f48f4 to 1ba958e Compare April 19, 2017 12:46
@hermanliang hermanliang force-pushed the resave-installation-lds-enabled branch from fff4613 to 792844e Compare April 20, 2017 03:07
Copy link
Contributor

@flovilmart flovilmart left a comment

Choose a reason for hiding this comment

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

LGTM!

@hermanliang hermanliang force-pushed the resave-installation-lds-enabled branch from 29e516c to a8132af Compare May 8, 2017 04:27
@hermanliang
Copy link
Contributor Author

@flovilmart I think it's okay to merge now. Thanks!

@hermanliang
Copy link
Contributor Author

@flovilmart can you help me merge this PR, since I'm not permitted to merge in this repo.
Thanks :)

@flovilmart flovilmart merged commit 37f9911 into parse-community:master May 21, 2017
@flovilmart
Copy link
Contributor

Sorry, didn't see your previous comment!

@hermanliang
Copy link
Contributor Author

No worries. Thanks!

tkhoa87 added a commit to notabasement/Parse-SDK-iOS-OSX that referenced this pull request Jun 30, 2017
* ParsePlatform/master:
  ⚡️ Release 1.15.0 (parse-community#1153)
  ⚡ Release 1.14.5 (parse-community#1152)
  Add withinPolygon to Query (parse-community#1150)
  Use getter instead accessing instance variable (parse-community#1026)
  Makes PFEncoder and PFDecoder public for LiveQuery (parse-community#1149)
  Let the iOS SDK handle Delete ops when sent from the server (parse-community#928)
  Outputing offending bundle in assert message. (parse-community#1000)
  Update documentation links (parse-community#1102)
  Swift 3 (parse-community#1145)
  Allowing to re-save installation if LDS is enabled (parse-community#1125)
  Removed or replaced the broken links in the README (parse-community#1141)
  update pod spec homepage (parse-community#1135)
  Update podspec link
  Update links
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants