-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User profile should display all public posts #3546
Comments
Now that I started share with him, his post is displayed in my stream, but his profile is still empty. |
@dmorley any chance you could try to look up what went wrong here? |
@MrZyx I think this is a big issue, communication is the core of Diaspora. If I can do something, please tell me. |
The issue must be some data inconsistencies letting the query fail or something like that. Not much anyone without access to the db can do ;-) |
I have just retry and have the following line on my web console : and an infinite loop in the page (the page is loaded but the symbol still turn) |
Yeah 500 is just the generic "something went wrong" message, the real error is in the server log. |
Yeah I know, but I didn't notice it before so I precise it ;) |
here is the error:
|
If I got that right https://github.com/diaspora/diaspora/blob/develop/lib/evil_query.rb#L109 needs to filter out nil/NULL. Altough the real issue seems to be that the user deleted a post but the ShareVisibillities didn't get deleted. Or I missed something and the else branch here https://github.com/diaspora/diaspora/blob/develop/lib/stream/person.rb#L16 returns a nil value in the array. Which would be even weirder. |
Thank you so much for fixing it ! I didn't notice the patch before, saw it reading the 0.0.1.2 changelog. This was a really annoying bug. Thank you again ! |
Hm, apparently, the reshare was not the only cause of this problem. According to this post, when you visit a profile from your pod URL, it can miss public posts. I reproduce it from free-beer.ch. I think we should re-open this issue. A way to fix that is to force update when we visit the profile of someone. |
Please open a new issue, exactly describing your problem (I'm not sure I understood it this time). |
Hm, the title of the new issue would be exactly the same.. Steps to reproduce: Actual behavior: Expect behavior: You can compare if posts are missing by going on https://thePodOfThePerson.tld/u/handleOfThePerson which displays all the public posts. Reason of missing posts: Possible fix: |
This is true for new users? Remember that was always the case before we had the public post fetcher and likely remains it for users fetched before it. Doing a fetch in request every time you visit a profile is just way too slow. |
By new users you mean registered after the update, or posts published after the update ? I can see this problem by post made this week, but I don't know the registered date of the user.. |
I mean initially discovered by the pod after the update. |
Hm... I can't know that without having access to the database... Can't you check it from your pod ? |
I didn't notice any problem, so no, I can't check. |
Your pod is a small one, if you pick a person you don't share with, for example mozfr@free-beer.ch, can you check if from your pod you see the same posts than from https://free-beer.ch/u/mozfr ? You should have 16 posts between now and the reshare of my post annoucing the "Diaspora v0.0.3.0 est finalement là !" reshared sunday the 17th of february. Have you them all ? |
I do not have the reshare but I've well over 16 posts. Alright next scenario you're probably unaware of: Profile is fetched, public posts are fetched, but no one starts following that profile/that profile doesn't share with anybody on the remote pod. New posts won't get pushed to that pod. This is not broken functionality but, if something at all, a missing feature (regular pulls or whatever). |
I can't see any post on the profile of many users. I don't share with them and they don't share with me, but I should be able to see their public posts.
For example staccato@diasp.org's (who is on the same pod as me) profile is empty, but I can see public posts from him from another pod.
The text was updated successfully, but these errors were encountered: