Erudika / scoold-pro

Cloud-ready Q&A platform for the enterprise (self-hosted, on premise)
https://scoold.com
Other
7 stars 0 forks source link

User cannot mention any other users #44

Closed jorgeag68 closed 3 years ago

jorgeag68 commented 3 years ago

A specific user cannot mention anyone on Scoold.

Using @ doesn't display any user names.

He can be mentioned by other users.

To try to fix the issue I've deleted the user and he logged in again from LDAP.

The problem still persists and now all his questions are assigned to "Deleted user"

How can we fix these 2 issues ?

albogdano commented 3 years ago

Is that user a member of any spaces? Does that user see any other people on the Users page? To fix the "deleted user" issue you have to manually edit the profile and user objects in Para of the user in question and set their id property to be equal to the previous id value of that user.

jorgeag68 commented 3 years ago

Hello,

We don't use spaces Just the Default space.. And no, the users in question can't see any other users... More than one now with this problem.

I've tried to edit the User and Profile to set the id to the old one. I'm using console.paraio.org and can see all the data. But when I save changes nothing is changed on the data.

albogdano commented 3 years ago

This issue can be related to a bug which was introduced in a previous release. I will release the patched version now. Changing the id of an object is not possible with an "update" operation. Instead you can copy the JSON data from one object and create a new object, paste the data and edit the id. Do this for both profile and user objects of that user. Finally, after you verify that all works well, delete the old objects. The id of a profile object is in the format 123456:profile

jorgeag68 commented 3 years ago

Hi,

Thanks. Waiting for the patched version.

Meanwhile I could create the new profile with the old id but can't create the user. I get this error:

{ "code" : 400, "message" : "Failed to authenticate user with 'password'. Check if user is active." }

What can be done ?

jorgeag68 commented 3 years ago

Hello,

Looks like the issue is back on the new release 1.40.2. All non admin users have this problem.

scoold-pro-1.40.2.jar

Can you please check the problem and issue a new version to fix this ?

regards,

PastedGraphic-1
albogdano commented 3 years ago

Alas, you're right @jorgeag68! This will be fixed in the next release but in the new version you will have to add all users to the default space like this: image Go to Users > Bulk Edit > Add "Default space" to "All users"

jorgeag68 commented 3 years ago

Thank you for confirming.

I'll be waiting to get the new software.

jorgeag68 commented 3 years ago

Any news about dates for the release of the new build?

albogdano commented 3 years ago

@jorgeag68 Yes, I am preparing a new release for tomorrow.