<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Corrupted user after upgrading to CE 3.3--how to fix? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/corrupted-user-after-upgrading-to-ce-3-3-how-to-fix/m-p/220009#M173139</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Finally got this sorted out.&amp;nbsp; It turns out that the user's "persondescription" field got corrupted somehow (it was rather lengthy before the upgrade).&amp;nbsp; So, I had to figure out a way to update that field without using the UI.&amp;nbsp; Here's how I did that:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) I modified tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/person/person.put.json.js to add the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; if (!json.isNull("persondescription"))&lt;BR /&gt;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; person.properties["persondescription"] = json.get("persondescription");&lt;BR /&gt;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;2) I restarted alfresco to make that change take effect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) I downloaded the details of that person using the rest api and the UNIX command line curl:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;curl '&lt;/SPAN&gt;&lt;A href="http://myhost.berkeley.edu:8080/alfresco/service/api/people/myuser" rel="nofollow noopener noreferrer"&gt;http://myhost.berkeley.edu:8080/alfresco/service/api/people/myuser&lt;/A&gt;&lt;SPAN&gt;' -u 'admin&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ass' &amp;gt; Downloads/myuser.json&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4) I edited the persondescription in the resulting myuser.json file to make it much shorter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5) I then updated that person using curl, as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;curl -H "content-type:application/json" -X PUT -u 'admin&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ass' -T Downloads/myuser.json &lt;/SPAN&gt;&lt;A href="http://myhost.berkeley.edu:8080/alfresco/service/api/people/myuser" rel="nofollow noopener noreferrer"&gt;http://myhost.berkeley.edu:8080/alfresco/service/api/people/myuser&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The interesting thing is that the persondescription ended up blank, not with the new value I assigned to it, but I can log into that account again, at least, which is the important part…..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this is useful to someone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 May 2010 22:16:23 GMT</pubDate>
    <dc:creator>icrew</dc:creator>
    <dc:date>2010-05-18T22:16:23Z</dc:date>
    <item>
      <title>Corrupted user after upgrading to CE 3.3--how to fix?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/corrupted-user-after-upgrading-to-ce-3-3-how-to-fix/m-p/220006#M173136</link>
      <description>Hi:I just upgraded from CE 3.2 to CE 3.3, and the upgrade went smoothly, but one user can't log in:I have a user who can log in to the Explore interface, but not into the Share interface.&amp;nbsp; At one point, they got an error page&amp;nbsp; that read:HTTP Status 500 -type Exception reportmessagedescription The se</description>
      <pubDate>Wed, 05 May 2010 21:06:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/corrupted-user-after-upgrading-to-ce-3-3-how-to-fix/m-p/220006#M173136</guid>
      <dc:creator>icrew</dc:creator>
      <dc:date>2010-05-05T21:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Corrupted user after upgrading to CE 3.3--how to fix?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/corrupted-user-after-upgrading-to-ce-3-3-how-to-fix/m-p/220007#M173137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One more datapoint:&amp;nbsp; If I try to access the profile page for the problematic user from within Share (e.g. &lt;/SPAN&gt;&lt;A href="http://myhost.berkeley.edu:8080/share/page/user/problemuser/profile" rel="nofollow noopener noreferrer"&gt;http://myhost.berkeley.edu:8080/share/page/user/problemuser/profile&lt;/A&gt;&lt;SPAN&gt;), the AlfrescoShare/My Dashboard/My Profile/Sites/People/Repository/Help/Logout/Search header loads fine, but again it pauses indefinitely when waiting for the rest of the page to load.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at the problem user from the admin console in both Share and Explore works fine, and the user seems to be normal.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 May 2010 21:34:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/corrupted-user-after-upgrading-to-ce-3-3-how-to-fix/m-p/220007#M173137</guid>
      <dc:creator>icrew</dc:creator>
      <dc:date>2010-05-05T21:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Corrupted user after upgrading to CE 3.3--how to fix?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/corrupted-user-after-upgrading-to-ce-3-3-how-to-fix/m-p/220008#M173138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;And another lead:&amp;nbsp; When I'm logged in as the problem user via EXPLORE, I get the same waiting behavior if I try to click on the user profile button at the top of the screen.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 May 2010 21:59:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/corrupted-user-after-upgrading-to-ce-3-3-how-to-fix/m-p/220008#M173138</guid>
      <dc:creator>icrew</dc:creator>
      <dc:date>2010-05-05T21:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Corrupted user after upgrading to CE 3.3--how to fix?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/corrupted-user-after-upgrading-to-ce-3-3-how-to-fix/m-p/220009#M173139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Finally got this sorted out.&amp;nbsp; It turns out that the user's "persondescription" field got corrupted somehow (it was rather lengthy before the upgrade).&amp;nbsp; So, I had to figure out a way to update that field without using the UI.&amp;nbsp; Here's how I did that:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) I modified tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/person/person.put.json.js to add the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; if (!json.isNull("persondescription"))&lt;BR /&gt;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; person.properties["persondescription"] = json.get("persondescription");&lt;BR /&gt;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;2) I restarted alfresco to make that change take effect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) I downloaded the details of that person using the rest api and the UNIX command line curl:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;curl '&lt;/SPAN&gt;&lt;A href="http://myhost.berkeley.edu:8080/alfresco/service/api/people/myuser" rel="nofollow noopener noreferrer"&gt;http://myhost.berkeley.edu:8080/alfresco/service/api/people/myuser&lt;/A&gt;&lt;SPAN&gt;' -u 'admin&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ass' &amp;gt; Downloads/myuser.json&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4) I edited the persondescription in the resulting myuser.json file to make it much shorter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5) I then updated that person using curl, as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;curl -H "content-type:application/json" -X PUT -u 'admin&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ass' -T Downloads/myuser.json &lt;/SPAN&gt;&lt;A href="http://myhost.berkeley.edu:8080/alfresco/service/api/people/myuser" rel="nofollow noopener noreferrer"&gt;http://myhost.berkeley.edu:8080/alfresco/service/api/people/myuser&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The interesting thing is that the persondescription ended up blank, not with the new value I assigned to it, but I can log into that account again, at least, which is the important part…..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this is useful to someone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 May 2010 22:16:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/corrupted-user-after-upgrading-to-ce-3-3-how-to-fix/m-p/220009#M173139</guid>
      <dc:creator>icrew</dc:creator>
      <dc:date>2010-05-18T22:16:23Z</dc:date>
    </item>
  </channel>
</rss>

