I deleted all the users from the table and after reusing the same application across 3 devices the user table only shows 1 visible user, though in the side panel it shows 3 users.
Also if I delete a single user, the next user becomes visible and so on.
Hi!
I have several questions:
- How it works if you refresh page?
- Could you provide your application id?
Regards,
Kate.
- The problem is still there after refreshing.
- This is the application id - 26D6F9D6-9EA1-6EBD-FF69-7644D238A200
This problem happened when I declared the BackendlessUser variable as a “final” variable. Could it be because of the final variable declaration?
However, reverting back to the old code made no difference. I emptied the user table and used the former method of registration and the problem is still there.
Could you try this:
- Login to backendless console and select your app
Click the Data icon
Select the Users table (it should actually be selected by default)
Click the REST Console tab
Click GET
You will see JSON response. Please post it here in this ticket.
This is the response :
{
“offset”: 0,
“data”: [
{
“lastLogin”: 1441042007000,
“userStatus”: “ENABLED”,
“created”: 1440949599000,
“name”: “Asit Bhowmik”,
“___class”: “Users”,
“id”: 0,
“ownerId”: null,
“updated”: null,
“objectId”: “A9F04D67-9839-1D17-FFEB-A05C19D97E00”,
“email”: null,
“facebook_id”: “540338599455987”,
“__meta”: “{“relationRemovalIds”:{},“selectedProperties”:[“password”,“created”,“name”,”___class",“id”,“ownerId”,“updated”,“objectId”,“email”,“facebook_id”],“relatedObjects”:{}}"
},
{
“lastLogin”: 1440949550000,
“userStatus”: “ENABLED”,
“created”: 1440949546000,
“name”: “Arka Bhowmik”,
“___class”: “Users”,
“id”: 0,
“ownerId”: null,
“updated”: null,
“objectId”: “0E30F93E-2FA7-E4FA-FFE6-0AA9D4DED600”,
“email”: null,
“facebook_id”: “451120365066522”,
“__meta”: “{“relationRemovalIds”:{},“selectedProperties”:[“password”,“created”,“name”,”___class",“id”,“ownerId”,“updated”,“objectId”,“email”,“facebook_id”],“relatedObjects”:{}}"
},
{
“lastLogin”: 1440949507000,
“userStatus”: “ENABLED”,
“created”: 1440949503000,
“name”: “Mousumi Shome”,
“___class”: “Users”,
“id”: 0,
“ownerId”: null,
“updated”: null,
“objectId”: “EDD9F2A7-9B14-5553-FFF5-900973555700”,
“email”: null,
“facebook_id”: “1712164432345720”,
“__meta”: “{“relationRemovalIds”:{},“selectedProperties”:[“password”,“created”,“name”,”___class",“id”,“ownerId”,“updated”,“objectId”,“email”,“facebook_id”],“relatedObjects”:{}}"
}
],
“nextPage”: null,
“totalObjects”: 3
}
Thanks, this is helpful. We know the API returns all of them. Could you please do two more things for me:
- Please attach screenshot of the Backendless console screen from Users > User Properties
Open the Data screen, make sure the Users table is selected. Open Network tab in Chrome console (so we can see request and response).
Make sure to select XHR.
Reload the page and see the response for the following request:
Users?pageSize=15&offset=0
Switch to the Preview tab and post here the response.
This is the response:
data: [{lastLogin: 1441042007000, userStatus: "ENABLED", created: 1440949599000, name: "Asit Bhowmik",…},…]
0: {lastLogin: 1441042007000, userStatus: "ENABLED", created: 1440949599000, name: "Asit Bhowmik",…}
___class: "Users"
__meta: "{"relationRemovalIds":{},"selectedProperties":["password","created","name","___class","id","ownerId","updated","objectId","email","facebook_id"],"relatedObjects":{}}"
created: 1440949599000
email: null
facebook_id: "540338599455987"
id: 0
lastLogin: 1441042007000
name: "Asit Bhowmik"
objectId: "A9F04D67-9839-1D17-FFEB-A05C19D97E00"
ownerId: null
updated: null
userStatus: "ENABLED"
1: {lastLogin: 1440949550000, userStatus: "ENABLED", created: 1440949546000, name: "Arka Bhowmik",…}
___class: "Users"
__meta: "{"relationRemovalIds":{},"selectedProperties":["password","created","name","___class","id","ownerId","updated","objectId","email","facebook_id"],"relatedObjects":{}}"
created: 1440949546000
email: null
facebook_id: "451120365066522"
id: 0
lastLogin: 1440949550000
name: "Arka Bhowmik"
objectId: "0E30F93E-2FA7-E4FA-FFE6-0AA9D4DED600"
ownerId: null
updated: null
userStatus: "ENABLED"
2: {lastLogin: 1440949507000, userStatus: "ENABLED", created: 1440949503000, name: "Mousumi Shome",…}
___class: "Users"
__meta: "{"relationRemovalIds":{},"selectedProperties":["password","created","name","___class","id","ownerId","updated","objectId","email","facebook_id"],"relatedObjects":{}}"
created: 1440949503000
email: null
facebook_id: "1712164432345720"
id: 0
lastLogin: 1440949507000
name: "Mousumi Shome"
objectId: "EDD9F2A7-9B14-5553-FFF5-900973555700"
ownerId: null
updated: null
userStatus: "ENABLED"
nextPage: null
offset: 0
totalObjects: 3
Thanks! I think we have everything we need now to diagnose the problem.
You are welcome!
Hi!
We made several changes in this logic.
Could you try again?
(And not forget to clear browser cache please).
Regards,
Kate.