parse-dashboard icon indicating copy to clipboard operation
parse-dashboard copied to clipboard

'No data to display' although data is there

Open merowinger92 opened this issue 10 years ago • 7 comments

Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Dashboard!

  • [X] You're running version 2.2.6 of Parse Server.
  • [X] You've searched through existing issues. Chances are that your issue has been reported or resolved before.

Environment Setup

Debian Wheezy Started with parse-dashboard --config /path/to/config --allowInsecureHTTP=1

Steps to reproduce

I defined a cloud function in parse server: `Parse.Cloud.define("First", function(request,response){

var User = new Parse.Object("User");

User.set("name","Miautzekatze");

User.save().then(function(result){
    console.log("success");
    response.success("saved");
}, function(error){
    console.log("save failed!");
    response.error(error);
});

});`

I can also call that function and I see "success" in console. Verifiying the data in MongoDB it's also there. Browsing parse dashboard. the class is there but no data in it. If I try to delete the class I also get an appropriate error message that the class is not empty.

If furthere information is needed I try to provide it.

merowinger92 avatar Apr 17 '16 12:04 merowinger92

Just a side note here, probably not related. But remember that "User" is not the Parse User Class, that class should be named "_User".

bohemima avatar Apr 17 '16 16:04 bohemima

Can you fetch the object from the API Console or JS SDK? Parse Dashboard uses the JS SDK to fetch objects so if the SDKs work then the dashboard should work.

drew-gross avatar Apr 17 '16 19:04 drew-gross

@drew-gross via REST API all information is correctly displayed... I X-checked the config files but I don't see an error on my side...

merowinger92 avatar Apr 24 '16 18:04 merowinger92

Do you see any errors in the Javascript console? If your configuration is correct, there isn't much that could be going wrong here.

drew-gross avatar Apr 25 '16 17:04 drew-gross

No response in many days, closing.

drew-gross avatar May 06 '16 22:05 drew-gross

I'm seeing the same behavior. Steps to reproduce:

  1. mongodump an existing working parse database
  2. mongorestore that into a new database
  3. point your parse app at that database
  4. load the dashboard, nothing is there.

Note: New records show up fine but old ones do not.

aesnyder avatar Nov 19 '16 23:11 aesnyder

My case: Tap the Eye icon => Hide all => select some fields => refresh. The data back, and remember to delete the wrong instances you just created. Hope it help.

thpthang10 avatar Dec 05 '22 10:12 thpthang10