[After 1.0.0-beta.10] Click/touch Nav bar invalidates list


Aftet having this update I noticed a big problems in my app.

When I, accidentaly, touch the nav bar in my list, it invalidates the objects… Basically the list get empty but with the same number of items.

Anyone noticed this?


Well, seem that Im alone in this one…
Can anyone suggest me an approach to solve this?

The json comes from a parse-request and is saved in local storage for cache.
But when clicked in the nav header, all the bonded values disappear…


Hey there :smile:

Any chance you could put together a sample of this with a codepen?


Well, I don’t know how to use code-pen actually, so, here are some pieces of code:

.controller('NoticiasCtrl', function ($scope) { //, $cordovaNetwork
    var latestPosts = localStorage.getItem("latestPosts");
    $scope.posts = (latestPosts != "" && latestPosts != undefined) ? JSON.parse(latestPosts) : [];

    if($scope.requested != true) {
        var Post = Parse.Object.extend("Post");
        var innerQuery = new Parse.Query(Parse.User);
        innerQuery.equalTo("refNum", refNum);

        var query = new Parse.Query(Post);
        query.matchesQuery("user", innerQuery);
            success: function(posts) {
                $scope.posts = posts;
                localStorage.setItem("latestPosts", JSON.stringify(posts));
        $scope.requested = true;


<ion-view title="Notícias">
    <ion-content class="has-header">
        <ion-list class="noticias">
            <ion-item ng-repeat="post in posts" href="#/app/noticia/{{post.uuid}}" class="item-thumbnail-left">
                <div class="item-image {{post.type}}" style="background-image: url({{post.thumb}});">
                    <i class="ion" ng-hide="post.thumb"></i>
                <span class="{{post.type}}">{{post.title}}</span>
                <p class="info {{post.type}}">DD/MM | HH:MM @ <i>{{post.type}}</i></p>

As far as I understood, the problem is cause when clicked at the top, the $scope variable changes or something and everything dies. My app has sidemenu too, so Im not sure about what is causing it.


Ok, just found out the problem: It’ some Parse’s behaviour.