Issue with Content Editor Web Part and UserField
- I have a pagelayout on a publishing portal that contains several web part zones and a SharePointWebControls:UserField to show the ReportOwner field. I add a CEWP to any of the web part zones and edit the content using the rich text editor. After clicking ok, the ReportOwner field contains html rather than the user name. This seems to have started happening after we installed SP2 in May. Has anyone else experienced this?
I've found one other reference to this issue and it's in this blog: http://vspug.com/teameli/2009/07/28/moss-2007-sp2-april-cu-publishing-bug/
Here is the html that's showing up in the owner field (with username and domain removed):
<span id='spanMYDOMAIN\USERID' tabindex='-1' contentEditable='false' class='ms-entity-resolved' title='MYDOMAIN\USERID' '><div style='display:none; ' id='divEntityData' key='MYDOMAIN\USERID' displaytext='LASTNAME, FIRSTNAME' isresolved='True' description='MYDOMAIN\USERID'><div data='<ArrayOfDictionaryEntry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><DictionaryEntry><Key xsi:type="xsd:string">DisplayName</Key><Value xsi:type="xsd:string">LASTNAME, FIRSTNAME</Value></DictionaryEntry><DictionaryEntry><Key xsi:type="xsd:string">Email</Key><Value xsi:type="xsd:string">USERID@MYDOMAIN.com</Value></DictionaryEntry><DictionaryEntry><Key xsi:type="xsd:string">SPUserID</Key><Value xsi:type="xsd:string">106</Value></DictionaryEntry><DictionaryEntry><Key xsi:type="xsd:string">Department</Key><Value xsi:type="xsd:string">HUMAN RESOURCES-CH</Value></DictionaryEntry><DictionaryEntry><Key xsi:type="xsd:string">Title</Key><Value xsi:type="xsd:string">SENIOR TRAINING SPECIALIST</Value></DictionaryEntry><DictionaryEntry><Key xsi:type="xsd:string">PrincipalType</Key><Value xsi:type="xsd:string">User</Value></DictionaryEntry><DictionaryEntry><Key xsi:type="xsd:string">SIPAddress</Key><Value xsi:type="xsd:string">EMAIL@MYDOMAIN.com</Value></DictionaryEntry></ArrayOfDictionaryEntry>'></div></div><span id='content' tabindex='-1' contenteditable onMouseDown='onMouseDownRw(); ' onContextMenu='onContextMenuSpnRw(); ' >LASTNAME, FIRSTNAME</span></span>
Answers
Hi Moni,
Yes, it looks like the FebCU contained the fix.
Rich
Rich Finn - http://blog.richfinn.net- Proposed As Answer byEli Van Eenwyk [MCM] Thursday, June 03, 2010 3:30 PM
- Marked As Answer byMike Walsh MVPMVP, ModeratorThursday, June 10, 2010 8:28 AM
All Replies
- Februrary 2010 CU for SharePoint 2007 seems to have fixed this
Rich Finn - http://blog.richfinn.net Hi,
Were you ever able to fix this issue. I am having the same issue and my environment is on SP2. Did the fix make it in Feb CU or April CU (If it did).
I would appreciate your help on this!
-Moni
Hi Moni,
Yes, it looks like the FebCU contained the fix.
Rich
Rich Finn - http://blog.richfinn.net- Proposed As Answer byEli Van Eenwyk [MCM] Thursday, June 03, 2010 3:30 PM
- Marked As Answer byMike Walsh MVPMVP, ModeratorThursday, June 10, 2010 8:28 AM