Closed (fixed)
Project:
SIOC
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 May 2006 at 13:20 UTC
Updated:
23 Jun 2006 at 14:16 UTC
rdfs:label in sioc:link of SIOC user profile contains label for another user (the one who's currently logged in).
See:
<sioc:User rdf:about="http://rdfs.org/user/1">
<sioc:name>Cloud</sioc:name>
<sioc:description></sioc:description>
<sioc:email_sha1>da39a3ee5e6b4b0d3255bfef95601890afd80709</sioc:email_sha1>
<sioc:link rdfs:label="CaptSolo" rdf:resource="http://rdfs.org/user/1" />
Comments
Comment #1
captsolo commented[Apparently] rdfs:label contains the login name of the user who is currently logged in to Drupal. if not logged in, you will see an empty rdfs:label.
Also - sioc:description has an empty value in the RDF data quoted. if empty, it should be omitted.
Comment #2
Cloud commentedChanged:
'label' => $user->name,
to:
'label' => $account->name,
Bug fixed!
Comment #3
Cloud commentedAdded general check for blank literals.
Comment #4
Cloud commentedOkay, this has been fixed too.
Comment #5
(not verified) commented