Skip to content
This repository has been archived by the owner on Feb 7, 2020. It is now read-only.

awsmobile publish silently overwrites changes made online in the console #9

Closed
baharev opened this issue Dec 10, 2017 · 4 comments
Closed

Comments

@baharev
Copy link
Contributor

baharev commented Dec 10, 2017

I added User Data Storage to my app online in the browser. I forgot to awsmobile pull before running awsmobile publish. This then simply deleted without any warning the <project name>-userfiles-mobilehub-123456789 S3 bucket. I personally find it a very confusing default behavior. At least a warning would have been helpful that I am about to discard a bucket.

@ghost
Copy link

ghost commented Dec 13, 2017

FWIW, I suspect publish and run probably run some of the same code, and very similar "silent overwrite" is documented in #12 -- though in that case, the integration with an imported API is erased on run despite a pull.

@elorzafe
Copy link
Contributor

These issue is now fixed on github current codebase. We will soon release a new version of the npm package (1.0.5) with this fix.

@elorzafe
Copy link
Contributor

Version 1.0.5 release. Fix is published!

@ghost
Copy link

ghost commented Jan 7, 2018

@elorzafe does this also fix #12?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants