Closed (fixed)
Project:
MySite
Version:
5.x-2.1
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2007 at 14:55 UTC
Updated:
30 Jun 2007 at 22:06 UTC
Jump to comment: Most recent file
Comments
Comment #1
agentrickardI see it. So the module-defined elements (Picture, History, Gallery2) work, but user-defined profile elements don't.
These are all publicly-viewable textfields from profile module. right?
Will test.
Comment #2
agentrickardAre these all set to a Profile Category?
Comment #3
agentrickardQuick findings.
I verified this error. It seems to be caused by the space in the Profile Category name. Changing "Personal Information" to "Personal" should resolve the error, but the code needs to be altered to fix this.
Comment #4
agentrickardTry changing line 201 of /mysite/plugins/types/profile.inc to:
That seems to work.
Comment #5
agentrickardSorry, the line numbers may be off. Replace the whole function:
Lines 188-207 in profile.inc
Comment #6
agentrickardFirst patch only caught the admin settings. This patch should also affect display.
To apply, place the patch in your plugins/types directory first.
Comment #7
kokoyote commentedThe patch seems to correct the problem, thank you. Fast work!
Comment #8
agentrickardWell, this was the least tested new feature, so I feel a little guilty. I think its a cool feature, but it has some quirks (like the blank field in your screenshot).
Comment #9
kokoyote commentedThat's true - I knew what that corresponded to, and it seemed to work properly, so I didn't worry about it. It controls the appearance of a link to the Gallery2 user gallery. The gallery.module inserts those fields into the profiles automatically.
Comment #10
agentrickardSure, it might work properly, buyt if you activate it and then a user goes to configure their profile element, they will be presented with a blank checkbox option.
How do we solve that problem?
Comment #11
agentrickardPatch committed to HEAD.
Comment #12
agentrickardFixed in 5.x.2.3