{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-Android/issues/127","labels_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-Android/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-Android/issues/127/comments","events_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-Android/issues/127/events","html_url":"https://github.com/ParsePlatform/Parse-SDK-Android/issues/127","id":105957785,"number":127,"title":"Problem updating array stored on local-datastore","user":{"login":"artemidius","id":9936670,"avatar_url":"https://avatars.githubusercontent.com/u/9936670?v=3","gravatar_id":"","url":"https://api.github.com/users/artemidius","html_url":"https://github.com/artemidius","followers_url":"https://api.github.com/users/artemidius/followers","following_url":"https://api.github.com/users/artemidius/following{/other_user}","gists_url":"https://api.github.com/users/artemidius/gists{/gist_id}","starred_url":"https://api.github.com/users/artemidius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artemidius/subscriptions","organizations_url":"https://api.github.com/users/artemidius/orgs","repos_url":"https://api.github.com/users/artemidius/repos","events_url":"https://api.github.com/users/artemidius/events{/privacy}","received_events_url":"https://api.github.com/users/artemidius/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"grantland","id":277030,"avatar_url":"https://avatars.githubusercontent.com/u/277030?v=3","gravatar_id":"","url":"https://api.github.com/users/grantland","html_url":"https://github.com/grantland","followers_url":"https://api.github.com/users/grantland/followers","following_url":"https://api.github.com/users/grantland/following{/other_user}","gists_url":"https://api.github.com/users/grantland/gists{/gist_id}","starred_url":"https://api.github.com/users/grantland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grantland/subscriptions","organizations_url":"https://api.github.com/users/grantland/orgs","repos_url":"https://api.github.com/users/grantland/repos","events_url":"https://api.github.com/users/grantland/events{/privacy}","received_events_url":"https://api.github.com/users/grantland/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-09-11T07:24:04Z","updated_at":"2015-12-17T19:58:28Z","closed_at":"2015-12-17T19:58:28Z","body":"Please Help!\r\n\r\nOn every launch my app loads fresh data from parse.com and pins all objects to use app without network requests.\r\n\r\ncode:\r\n```\r\npublic void pinKids() {\r\nParseQuery<ParseObject> query = ParseQuery.getQuery(ParseConstants.CLASS_KIDS);\r\n    query.whereEqualTo(ParseConstants.KEY_PARENT, currentUser);\r\n    query.findInBackground(new FindCallback<ParseObject>() {\r\n        public void done(final List<ParseObject> kidsList, ParseException e) {\r\n            if (e == null) {\r\n\r\n                ParseObject.unpinAllInBackground(ParseConstants.LABEL_KIDS, new DeleteCallback() {\r\n                    @Override\r\n                    public void done(ParseException e) {\r\n                        ParseObject.pinAllInBackground(ParseConstants.LABEL_KIDS, kidsList, new SaveCallback() {\r\n                            @Override\r\n                            public void done(ParseException e) {\r\n\r\n                                Log.d(\"Hello\", \"pinKids\");\r\n\r\n                            }\r\n                        });\r\n\r\n                    }\r\n                });\r\n\r\n            }\r\n        }\r\n    });\r\n}\r\n```\r\nOne of the columns in my class is an array of strings (it stores history messages). I found that my code doesn't refresh this array if that array was updated from the other device (the same user did something on the other device). The rest of the data (other columns) refresh without problems. But the array of strings stays as it was downloaded at first launch.\r\n\r\nIn parse.com dashboard I see that array is updated. But code doesn't download this array while all the other columns are downloaded correctly.\r\n\r\nLet me say that when I update this array on device-1 the new data is stored on device-1 and on \"parse.com\" too. But it doesn't update on device-2.\r\n\r\nFor example if you add item1 fom device-1. Array in parse-cloud contains \r\n```[ \"item1\" ]```\r\nIf then you update array on device-2 with item2 and item3, Parse-array will contain \r\n```[ \"item2\" ,\"item3\" ]``` \r\nAnd if then you'll use device-1 to add item4. Parse-cloud will contain \r\n``` [\"item1\",  \"item4\" ]``` \r\n \r\nI see that after query objects contain fresh data downloaded from parse-cloud. But array contains only old data that was pinned at first launch and updated locally. It means that query excludes array.\r\n\r\nAnd all other columns (not arrays) update correctly.\r\n\r\nFor me it looks pretty like Bug. \r\n\r\nI've already tried \r\nhttp://stackoverflow.com/questions/32434968/android-parse-com-array-is-not-updating\r\n\r\nand google groups\r\nhttps://groups.google.com/forum/#!topic/parse-developers/YCUhpOfJees\r\n\r\nWith no result\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-Android/issues/comments/165565965","html_url":"https://github.com/ParsePlatform/Parse-SDK-Android/issues/127#issuecomment-165565965","issue_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-Android/issues/127","id":165565965,"user":{"login":"grantland","id":277030,"avatar_url":"https://avatars.githubusercontent.com/u/277030?v=3","gravatar_id":"","url":"https://api.github.com/users/grantland","html_url":"https://github.com/grantland","followers_url":"https://api.github.com/users/grantland/followers","following_url":"https://api.github.com/users/grantland/following{/other_user}","gists_url":"https://api.github.com/users/grantland/gists{/gist_id}","starred_url":"https://api.github.com/users/grantland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grantland/subscriptions","organizations_url":"https://api.github.com/users/grantland/orgs","repos_url":"https://api.github.com/users/grantland/repos","events_url":"https://api.github.com/users/grantland/events{/privacy}","received_events_url":"https://api.github.com/users/grantland/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T19:58:28Z","updated_at":"2015-12-17T19:58:28Z","body":"Fixed by #108 "}}