-
Notifications
You must be signed in to change notification settings - Fork 235
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
Favorites not displaying on author page -- Give author type an updated timestamp as soon as PAUSE account is connected #852
Comments
I'm also interested in this issue as I'm facing the same problem. |
Just wanted to note that @Lx's author page is at https://metacpan.org/author/LXP |
I am also facing the same issue. |
I think this is https://metacpan.org/about/faq ( Do you have multiple accounts? ) - please try that and comment on this ticket (for us to reopen) if that does not solve this issue. |
I don't have multiple accounts, and am affected by this issue. |
I don't have multiple accounts. I'm still not seeing any favorites. |
@ranguard Why did you close this bug report when the problem is not fixed? Please reopen the bug report. |
Could everyone in this thread who would like to see this fixed please let us know what your PAUSE ids are? |
@oalders Thanks for reopening the report. My PAUSE id is MPERRY. Please let me know if there's any other information I can provide to help debug this problem. |
My PAUSE id is STEPHEN. On Jan 19, 2014, at 10:19 PM, Matt Perry notifications@github.com wrote:
|
@mperry2 please take the time to read the message i left when I closed this ticket, and also look at https://github.com/CPAN-API/metacpan-web/blob/master/CONTRIBUTING.md#when-are-issues-closed |
My PAUSE id is ZOFFIX |
Same problem. My PAUSE id is DAMI. |
The entry in the FAQ about multiple accounts doesn't appear to be relevant to me. When I go to my settings page and then to identities, I see both PAUSE and GitHub as connected. I clicked to disconnect both of them so that I would no longer have any identities connected. I then chose to reconnect to Github. I had to fill in a captcha which the page said would allow me to ++ items. I successfully completed that. Visiting https://metacpan.org/pod/Finance::QIF still shows the blue 1++ indicating I favored it eight months ago. However, https://metacpan.org/author/MPERRY still does not show any favorite distributions as I expect. Deselecting and reselecting the ++ button on Finance::QIF and reloading my author page made no difference. The favored distribution was not listed. Please let me know if I can do anything else to help you debug this. |
Just a quick note after digging a bit. In Controller/Author.pm, we make a request to the backend for I don't know much about the backend, but it seems that the author document (PAUSE account for |
I just tried disconnecting pause and then relinking it; nothing changed. Using the explorer links above, the only difference I see between my account and NEILB's is that he's got this key: P.S. also, connecting one account now seems to disconnect all the others. I had Facebook and PAUSE linked; now I can have just one or the other :| Weird. |
Please try again to disconnect pause, and remove all cookies for api.metacpan.org and metacpan.org. Log in with Facebook and connect with PAUSE. that should do the trick. |
Weeee \o/ Yes, that totally fixed both issues. Both Facebook and PAUSE are linked, and I got my Favorites list: https://metacpan.org/author/ZOFFIX |
Because I'm not connected via Facebook, I adapted @monken's instructions slightly without success:
On clicking that link, I was presented with a blob of JSON (in my browser--possibly a bug in itself?): {
"looks_human" : true,
"identity" : [
{
"name" : "pause",
"extra" : {},
"key" : "LXP"
}
],
"access_token" : [],
"id" : "<redacted>"
} My PAUSE account now remains disconnected, and so my favourites cannot appear on my author page. |
After trying the above steps again the operation appeared to succeed, however my GitHub and Google accounts were disconnected. After logging out of MetaCPAN and back in again via GitHub, my GitHub and Google accounts are connected again, but not my PAUSE account. |
Le 04.02.2014 15:44, Alex Peters a écrit :
Somehow it seems that the favorites are stored in a strange way; not PAUSE id : DAMI |
This is now working properly for my account. I even see the items I favored before I opened this issue. What I did was
I disconnected from PAUSE and the favorites continued to be listed (hurrah!). I reconnected to PAUSE and they were still there. I added App::ack as a favorite and it showed up as I expected. This is fixed for me. I hope those of you still having problems can find a solution. @ranguard: should I close this issue or leave it open for those people who are still having problems? |
@mperry2, please keep this issue open. I continue to experience problems. Having followed @mperry2's steps up to Step 7 I am now only connected to PAUSE, not GitHub or Google. If I re-connect to GitHub I am only connected to GitHub and Google, not PAUSE. Looks like internally I must have two MetaCPAN accounts or something, and my favourites are all defined under the GitHub/Google-linked account rather than PAUSE-linked account and I can't merge them so that I'm connected to them all at once. |
Okay, I followed the steps again in the "Do you have multiple accounts?" FAQ entry and this solved my problem. I did in fact have two MetaCPAN accounts which needed merging. Here's what I did specifically to solve the problem in my case:
|
Le 12.02.2014 05:05, Alex Peters a écrit :
Hurrah! Worked for me too. Thanks for your detailed explanation. This |
So I think everyone is sorted? (@stephenenelson please try the above suggestions, if not please comment and we'll re-open), I've also added a link to this thread from the faq: 44ff52a to help future people |
On my account MRDVT, I can reset it (disconnect, disconnect, logout, clear cache, close browser) and the author page will show my favorites for about 10-15 minutes. However, after returning to the site my favorites are no longer visible on the author page but they are still in the system as they appear as "1 non-PAUSE user(s)." I'm not sure what is going on. I really which we could login in as PAUSE and forgo all of the other linking. It's actually quite trivial since PAUSE uses Basic Authentication at this URL https://pause.perl.org/pause/authenquery just proxy over to it and cache for a few hours or so. |
Is your profile information being reset at the same intervals as well? It sounds like a cron is misbehaving. |
I'm still having issues getting my favorites to stick on the Author page. How do I view the data for my accounts? And where is the code that handles display of favorites on the author page? Here's my history.
When I return (sometimes 10 minutes some times next day), I'm logged in correctly with the GitHub account and linked PAUSE identity. However, none of my favorites are linked to my Author page. I can disconnect and re-connect my Pause account and the favorites will show for a short while. Thanks, mrdvt92 |
I'm experiencing the same problem as Mike (mrdvt92) |
@nicklangridge what is your PAUSE id? |
@oalders NICKL |
When I check NICKL's info in the API, I see: {
"dir" : "id/N/NI/NICKL",
"name" : "Nick Langridge",
"email" : [
"nickl@cpan.org"
],
"website" : [],
"pauseid" : "NICKL",
"gravatar_url" : "https://secure.gravatar.com/avatar/46666dab0b20c81e2aa6751470934dca?s=130&d=identicon"
} First problem is that his user key is missing (wiped out), so we can't map the favorites back to his account. The issue would likely be in MetaCPAN::Script::Author in the cpan-api repository. This is the code that is run via cron. |
After another look, I see that since NICKL has no "updated" key in his author profile, it will always be wiped out when the author cron runs again. @nicklangridge can you run through the steps above again, but this time after you do so, go to this page https://metacpan.org/account/profile and click 'save profile' at the bottom of the page. Actually, save your profile before you reconnect just in case there's a timing issue with the cron running. Could you let me know if that fixes things? |
@mrdvt92 it looks like a) your favorites are visible and b) you have an updated profile, so maybe this is the bit of info we were missing. We need to mark author profiles as "updated" as soon as a PAUSE account is linked to the profile. |
@oalders After re-link my identities I didn't seem to have any favourites at all. But I added new favourites and used 'save profile' as suggested. They seem to be sticking this time, thanks. Will report back if they go again. |
@nicklangridge Thanks for the update! |
My Account is 'VANSTYN' and I still have no favorites. I just disconnected and re-linked with my PAUSE account, and tried updating and saving my profile, and then gave a few more modules ++ ... still nothing, favorites show up blank as always |
I'm having the same issue, can't link my GitHub (vlyon) account and my PAUSE (vlyon) account. |
Also having this issue. Logged a new issue for not being able to link both accounts at the same time #1579 |
Sing in with github first time at all. No PAUSE account. Click on fav and enter a captcha at new page. Num in search result is increment but favorites page at account is empty and fav num at module page not change |
The ++ thing never worked for me, but I just didn't bother to find out why. Now I wanted to find out and found this issue. |
The ++ thing never worked for me and still doesn't work. |
same here |
I see my favorites under https://metacpan.org/account/favorite/list but not on my authors page https://metacpan.org/author/FSEITZ. I saved my profile before and after (re)connecting to PAUSE but nothing changed. Any ideas? |
As result of #852 both pages https://metacpan.org/account/favorite/list and author page (pause account palik) are empty in my case. |
After I uploaded a new distribution, my favorites are now visible on my authors page. It seems to me, that a causal connection exists. |
after reconnecting to pause I see favorites on account favorite list but author page shows
|
magic world! ++ works now as well |
Congratulations ;-) |
I favorited a distribution about a week ago but it's not listed as a favorite on my author page (https://metacpan.org/author/MPERRY). When I view the distribution that I favorited (https://metacpan.org/module/Finance::QIF) I can see that the favorite button is blue, which I assume means that the site knows I've clicked it and recorded it as a favorite.
Expected result:
My author page should list my favorites.
Actual result:
No favorites are listed on my author page.
The text was updated successfully, but these errors were encountered: