jrUser_online_status returning "invalid unique_id (3)"

SteveX
SteveX
@ultrajam
12 years ago
2,589 posts
jrUser_online_status in Elastic profile_header.tpl is printing
Quote: invalid unique_id (3)



--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 12/13/13 02:20:02PM
brian
@brian
12 years ago
10,149 posts
This is related to your other bug report about being able to create a profile without a user_id - this error means there are no user accounts found that belong to the profile_id, which should not normally happen.

Note that the error text is only visible to admin users, and I've updated it here so it says "no user accounts found" to make it a bit easier to understand.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
12 years ago
2,589 posts
It probably is related, but the artist profiles were all created with a profile owner.

After posting the bug report I reinstalled with an empty database and data dir. Then created the artists onto an artists profile making sure that "Admin" (the only user on the system) was selected as the profile owner for each profile.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
12 years ago
10,149 posts
well that error message means there is no user account attached to the profile - that's the only reason it would ever come out, so not sure why you would see that. but you should not see it any longer going forward.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
12 years ago
2,589 posts
Yes, now seeing "no user accounts found!" for the previously created profiles.

I'm seeing "no user accounts found!" for the newly created ones as well (created by the main admin account, which is selected as the profile owner). Should that be the case?

Validation is now working fine.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
12 years ago
10,149 posts
No - that should not be the case. When you created the new profile you assigned it to the master admin account? Let me test here and see what I see.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
12 years ago
10,149 posts
Yep - I see it here, I must have messed something up. Let me get it fixed.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
12 years ago
2,589 posts
Yes, the master admin is the only user on the dev site so far - I created the profiles into a quota cloned from the example quota immediately after installing


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
12 years ago
10,149 posts
I found the root cause of this and have pushed out an updated User Profile module - reload that one from the Marketplace and let me know if that fixes it for you.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
12 years ago
2,589 posts
Yes, that fixes it. Thanks Brian.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
12 years ago
10,149 posts
SteveX:
Yes, that fixes it. Thanks Brian.

Awesome - glad to hear it.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
12 years ago
2,589 posts
I see you can get the members (Brian, Douglas, Paul, Michael) showing on the-jamroom-network profile by adding their profile ids into the jrUser_online_status smarty function.

I'm wondering if there is any shared ownership of the profile though? Is there a way to have multiple users as profile owners?


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
12 years ago
10,149 posts
Yes - all of us are "owners" of the Jamroom Network profile - it's not something I have to add to the smarty function.

Go to the User Profiles -> Tools -> Link User Accounts tool and you can add as many extra users as you would like to an existing profile, and each user will become a "profile owner".

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

updated by @brian: 10/17/13 03:58:38PM
SteveX
SteveX
@ultrajam
12 years ago
2,589 posts
Cool, I hadn't seen that. Thanks!


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

Tags