<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Segoe UI";
panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
{font-family:Cambria;
panose-1:2 4 5 3 5 4 6 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
h1
{mso-style-priority:9;
mso-style-link:"Überschrift 1 Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;
font-weight:normal;}
h3
{mso-style-priority:9;
mso-style-link:"Überschrift 3 Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;
font-weight:normal;}
h6
{mso-style-priority:9;
mso-style-link:"Überschrift 6 Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;
font-weight:normal;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Sprechblasentext Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma",sans-serif;}
span.berschrift1Zchn
{mso-style-name:"Überschrift 1 Zchn";
mso-style-priority:9;
mso-style-link:"Überschrift 1";
font-family:"Calibri Light",sans-serif;
color:#2E74B5;}
span.berschrift3Zchn
{mso-style-name:"Überschrift 3 Zchn";
mso-style-priority:9;
mso-style-link:"Überschrift 3";
font-family:"Calibri Light",sans-serif;
color:#1F4D78;}
span.berschrift6Zchn
{mso-style-name:"Überschrift 6 Zchn";
mso-style-priority:9;
mso-style-link:"Überschrift 6";
font-family:"Calibri Light",sans-serif;
color:#1F4D78;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.SprechblasentextZchn
{mso-style-name:"Sprechblasentext Zchn";
mso-style-priority:99;
mso-style-link:Sprechblasentext;
font-family:"Segoe UI",sans-serif;}
span.Nadpis1Char
{mso-style-name:"Nadpis 1 Char";
mso-style-priority:9;
mso-style-link:"Nadpis 1";
font-family:"Cambria",serif;
color:#365F91;
font-weight:bold;}
p.Nadpis1, li.Nadpis1, div.Nadpis1
{mso-style-name:"Nadpis 1";
mso-style-link:"Nadpis 1 Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.Nadpis3Char
{mso-style-name:"Nadpis 3 Char";
mso-style-priority:9;
mso-style-link:"Nadpis 3";
font-family:"Cambria",serif;
color:#4F81BD;
font-weight:bold;}
p.Nadpis3, li.Nadpis3, div.Nadpis3
{mso-style-name:"Nadpis 3";
mso-style-link:"Nadpis 3 Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.Nadpis6Char
{mso-style-name:"Nadpis 6 Char";
mso-style-priority:9;
mso-style-link:"Nadpis 6";
font-family:"Cambria",serif;
color:#243F60;
font-style:italic;}
p.Nadpis6, li.Nadpis6, div.Nadpis6
{mso-style-name:"Nadpis 6";
mso-style-link:"Nadpis 6 Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.Titre1, li.Titre1, div.Titre1
{mso-style-name:"Titre 1";
mso-style-link:"Titre 1 Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.Titre1Car
{mso-style-name:"Titre 1 Car";
mso-style-priority:9;
mso-style-link:"Titre 1";
font-family:"Cambria",serif;
color:#365F91;
font-weight:bold;}
p.Titre3, li.Titre3, div.Titre3
{mso-style-name:"Titre 3";
mso-style-link:"Titre 3 Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.Titre3Car
{mso-style-name:"Titre 3 Car";
mso-style-priority:9;
mso-style-link:"Titre 3";
font-family:"Cambria",serif;
color:#4F81BD;
font-weight:bold;}
p.Titre6, li.Titre6, div.Titre6
{mso-style-name:"Titre 6";
mso-style-link:"Titre 6 Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.Titre6Car
{mso-style-name:"Titre 6 Car";
mso-style-priority:9;
mso-style-link:"Titre 6";
font-family:"Cambria",serif;
color:#243F60;
font-style:italic;}
span.E-MailFormatvorlage35
{mso-style-type:personal;
font-family:"Arial",sans-serif;
color:#1F497D;
font-weight:normal;
font-style:normal;}
span.hps
{mso-style-name:hps;}
span.shorttext
{mso-style-name:short_text;}
span.E-MailFormatvorlage38
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.E-MailFormatvorlage39
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.E-MailFormatvorlage40
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
p.Textedebulles, li.Textedebulles, div.Textedebulles
{mso-style-name:"Texte de bulles";
mso-style-link:"Texte de bulles Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.TextedebullesCar
{mso-style-name:"Texte de bulles Car";
mso-style-priority:99;
mso-style-link:"Texte de bulles";
font-family:"Tahoma",sans-serif;}
span.E-MailFormatvorlage43
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Hi Sandrine,
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">your question was how to avoid this. I would say the best way would be to check if a user is currently logged in or not.
If logged in, deleting is impossible.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">I wonder, if this would be a feature request for Alkacon.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">HTH<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Best regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Kai<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Von:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org]
<b>Im Auftrag von </b>Sandrine Prousteau<br>
<b>Gesendet:</b> Mittwoch, 28. Oktober 2015 17:25<br>
<b>An:</b> The OpenCms mailing list <opencms-dev@opencms.org><br>
<b>Betreff:</b> Re: [opencms-dev] Error 503 when reloading loggedIn page after account delete<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Yes of course, I’m just testing « critical use cases »…<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thanks for answer!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="FR" style="font-size:10.0pt;font-family:"Tahoma",sans-serif">De :</span></b><span lang="FR" style="font-size:10.0pt;font-family:"Tahoma",sans-serif">
<a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a> [<a href="mailto:opencms-dev-bounces@opencms.org">mailto:opencms-dev-bounces@opencms.org</a>]
<b>De la part de</b> Filip Kratochvil<br>
<b>Envoyé :</b> mercredi 28 octobre 2015 17:14<br>
<b>À :</b> 'The OpenCms mailing list'<br>
<b>Objet :</b> Re: [opencms-dev] Error 503 when reloading loggedIn page after account delete<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="CS" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi Sandrine,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="CS" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="CS" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">i think its normal behavior, but maybe i dont understand your workflow.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="CS" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="CS" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">When you will delete user, OpenCms session will not find assigned user you refresh page and you will get an error. You can try just „deactive“ logged
user and delete him later by the scheduled job.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="CS" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="CS" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">--<br>
S pozdravem / </span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">Kind regards</span><span lang="CS" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><br>
Filip Kratochvil<br>
------------------------------------------------<br>
NELASOFT Technologies, s.r.o.</span><span lang="CS" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><br>
</span><span lang="CS" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">E-mail:
</span><span lang="CS" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><a href="mailto:filip.kratochvil@nelasoft.cz">filip.kratochvil@nelasoft.cz</a><br>
</span><span lang="CS" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">Web:</span><span lang="CS" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">
<a href="http://www.nelasoft.cz/" target="_blank">www.nelasoft.cz</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="CS" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">Twitter:
</span><span lang="CS" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><a href="https://twitter.com/NELASOFT">@NELASOFT</a><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="CS" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="CS" style="font-size:10.0pt;font-family:"Tahoma",sans-serif">From:</span></b><span lang="CS" style="font-size:10.0pt;font-family:"Tahoma",sans-serif">
<a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a> [<a href="mailto:opencms-dev-bounces@opencms.org">mailto:opencms-dev-bounces@opencms.org</a>]
<b>On Behalf Of </b>Sandrine Prousteau<br>
<b>Sent:</b> Tuesday, October 27, 2015 3:26 PM<br>
<b>To:</b> The OpenCms mailing list<br>
<b>Subject:</b> [opencms-dev] Error 503 when reloading loggedIn page after account delete<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="CS"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi all !<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Is it normal to have a 503 error when reloading a page where I was loggedIn, just after deleting my account (with admin permission on another browser)
via the workplace tool?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<h1 style="margin-top:24.0pt;page-break-after:avoid"><b><span lang="EN-US" style="font-size:14.0pt;font-family:"Cambria",serif;color:#365F91">Etat HTTP 503 - org.opencms.db.CmsDbEntryNotFoundException: Error reading the user with ID cac14f31-7cb1-11e5-8d15-842b2bc0e1f6.<o:p></o:p></span></b></h1>
<h3 style="margin-top:10.0pt;page-break-after:avoid"><b><span lang="FR" style="font-family:"Cambria",serif;color:#4F81BD">Apache Tomcat/7.0.16<o:p></o:p></span></b></h3>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">How could I avoid this?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thanks.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
</div>
</body>
</html>