Click here to Skip to main content
15,911,786 members

Comments by marialena93 (Top 5 by date)

marialena93 24-Apr-15 9:49am View    
I found the mistake that I did. In Shop_ratings I am saving as pointer value the NAME of the shop instead of it's OBJECTID. So, in Parse.com when I am clicking to the pointer value of the row it navigates me nowhere because the connection between Shop and Shop_ratings objects is incorrect. I tried to solve the problem in the part where I was creating a new row in Shop_ratings objects. What I should do was to retrieve from Shop object the objectId of a shop using it's name and then save in the pointer field of the object Shop_ratings, the objectId that I retrieved. I solved my problem. Should I delete my question now that the error has nothing to do with the above code?
marialena93 24-Apr-15 8:52am View    
Deleted
I changed a bit my code so that I will set new value to "result" only when this value it is not undefined in parse.com. I also checked that the values that I get from the object "Shop_ratings" are correct, exactly like the database's ones. But I can't find why I can't get correctly the object.In my query as you can see, I have 2 "include" . The one is about the user which I achieve to take all the information I want from the user. But I can't make it work with the other include which refers to the "name" field of Shop_ratings that is a Pointer to the object "Shop"
marialena93 24-Apr-15 6:23am View    
How do you suggest to do it? Because about debugging the only way that I check usually my programs is through Log.d() . But right now I can't seem to find anything that will help me to do. So, I am stuck.
marialena93 23-Apr-15 12:21pm View    
Deleted
I will try debugging it and reply to you in this comment in case I find something helpful
marialena93 23-Apr-15 12:20pm View    
Yes I know about java. I mean a pointer of Parse.com database. That kind of pointer returns NULL