Erudika / scoold

A Stack Overflow clone for teams (self-hosted or hosted)
https://scoold.com
Apache License 2.0
861 stars 235 forks source link

Questions and answers appearing from 'Deleted User' when looking at use profile pages #379

Closed asos-robbell closed 1 year ago

asos-robbell commented 1 year ago

When looking at a user's profile page, all of their question and answers listed under their profile appear to be from 'Deleted User'. The list of questions and answers is correct for the given user, but the icon and name appear wrong:

image

albogdano commented 1 year ago

I think that was fixed a while ago... Which Scoold version do you have?

asos-robbell commented 1 year ago

This is with v1.53.0

albogdano commented 1 year ago

This probably means that the data was manipulated externally or has been imported so that the question's author id doesn't match the profile id for that user. Did you import the data from somewhere?

albogdano commented 1 year ago

Fixed.

asos-robbell commented 1 year ago

Fixed.

Fixed in a new version, or you mean it was fixed previously? Regarding your other comment, all of this data was created via the app and not imported. All users are seeing the same behaviour. We use OpenID auth with Azure AD, I'm not sure if that's a contributing factor?

albogdano commented 1 year ago

The fix is in the main branch, soon to be released as a new version.

albogdano commented 1 year ago

Did you experience any other issues like that elsewhere on the site? What about the description of that question in the screenshot - can you see all questions normally?

asos-robbell commented 1 year ago

Did you experience any other issues like that elsewhere on the site? What about the description of that question in the screenshot - can you see all questions normally?

Every question on all users' profile pages appear with 'deleted user' consistently:

image

It's the same on the answers tab, although with a smaller icon:

image

The profile page is the only place that I see the 'deleted user' issue—all other pages show the correct user.

albogdano commented 1 year ago

Ok that's fine. The issue is definitely fixed now and you should get it with the next release of Scoold Pro.