<div style="MARGIN:0cm 0cm 0pt" class="MsoPlainText"><font face="Arial">Hello everyone,</font></div>
<div style="MARGIN:0cm 0cm 0pt" class="MsoPlainText"><font face="Arial"></font> </div>
<div style="MARGIN:0cm 0cm 0pt" class="MsoPlainText"><font face="Arial">After upgrade from 8.0.2 to 8.5 version, we started noticing a problem: sometimes the following error message appear in the database log (we're using Postgresql): </font><font face="Arial">opencms ERROR:  duplicate key value violates unique constraint "cms_user_publish_list_pkey" opencms DETAIL:  Key (structure_id, user_id)=(b2678488-72d3-11e1-8c1e-b31821dcc6bc, 68ef3959-49e6-11e2-9f1c-ab3ff7989614) already exists. opencms STATEMENT:  INSERT INTO CMS_USER_PUBLISH_LIST VALUES ($1, $2, $3)</font></div>


<div style="MARGIN:0cm 0cm 0pt" class="MsoPlainText"><font face="Arial"></font> </div>
<div style="MARGIN:0cm 0cm 0pt" class="MsoPlainText"><font face="Arial">Also we noticed that value of the field CMS_USER_PUBLISH_LIST.STRUCTURE_ID actually corresponds to USER_ID (we were able to find corresponding record in CMS_USERS table) and vice versa: CMS_USER_PUBLISH_LIST.USER_ID have corresponding records in the CMS_ONLINE_STRUCTURE and CMS_OFFLINE_STRUCTURE tables.</font></div>


<div style="MARGIN:0cm 0cm 0pt" class="MsoPlainText"><font face="Arial"></font> </div>
<div style="MARGIN:0cm 0cm 0pt" class="MsoPlainText"><font face="Arial">The problem is not very serious, everything else works fine.</font></div>
<div style="MARGIN:0cm 0cm 0pt" class="MsoPlainText"><font face="Arial">OpenCMS version: 8.5<br>Postgresql version: 9.1.6</font></div>
<div style="MARGIN:0cm 0cm 0pt" class="MsoPlainText"> </div>
<div style="MARGIN:0cm 0cm 0pt" class="MsoPlainText">Have someone faced this problem too?</div>
<div style="MARGIN:0cm 0cm 0pt" class="MsoPlainText"> </div>-- <br>Best regards,<br>Gleb Makarov