[opencms-dev] Error 503 when reloading loggedIn page after account delete

Schliemann, Kai K.Schliemann at comundus.com
Thu Oct 29 09:22:12 CET 2015


Hi Sandrine,
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.
I wonder, if this would be a feature request for Alkacon.

HTH
Best regards
Kai

Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Sandrine Prousteau
Gesendet: Mittwoch, 28. Oktober 2015 17:25
An: The OpenCms mailing list <opencms-dev at opencms.org>
Betreff: Re: [opencms-dev] Error 503 when reloading loggedIn page after account delete

Yes of course, I’m just testing « critical use cases »…
Thanks for answer!

De : opencms-dev-bounces at opencms.org<mailto:opencms-dev-bounces at opencms.org> [mailto:opencms-dev-bounces at opencms.org] De la part de Filip Kratochvil
Envoyé : mercredi 28 octobre 2015 17:14
À : 'The OpenCms mailing list'
Objet : Re: [opencms-dev] Error 503 when reloading loggedIn page after account delete

Hi Sandrine,

i think its normal behavior, but maybe i dont understand your workflow.

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.

--
S pozdravem / Kind regards
Filip Kratochvil
------------------------------------------------
NELASOFT Technologies, s.r.o.
E-mail: filip.kratochvil at nelasoft.cz<mailto:filip.kratochvil at nelasoft.cz>
Web: www.nelasoft.cz<http://www.nelasoft.cz/>
Twitter: @NELASOFT<https://twitter.com/NELASOFT>

From: opencms-dev-bounces at opencms.org<mailto:opencms-dev-bounces at opencms.org> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Sandrine Prousteau
Sent: Tuesday, October 27, 2015 3:26 PM
To: The OpenCms mailing list
Subject: [opencms-dev] Error 503 when reloading loggedIn page after account delete

Hi all !

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?

Etat HTTP 503 - org.opencms.db.CmsDbEntryNotFoundException: Error reading the user with ID cac14f31-7cb1-11e5-8d15-842b2bc0e1f6.
Apache Tomcat/7.0.16


How could I avoid this?

Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20151029/543753ef/attachment.htm>


More information about the opencms-dev mailing list