Dear Theodoros, In data mercoledì 31 marzo 2010 12:32:22, Theodoros Theodoropoulos ha scritto: > I just realized that there is no useful feedback to the end user when an > invalid/deleted cookies is handled by Invenio. Instead, one gets a "500 > Internal Server Error"... > > Replication steps: Use "lost my password", give a valid email address, > click the appropriate URL in the mail to change the password and then > click AGAIN in the URL in the mail, > or just use a > http://yourinvenioserver/youraccount/resetpassword?k=write_here_any_bogus_c > haracters > > It will give a 500 Internal Server Error in v0.99.90.20091222 and an > exception that says (among other things) > > It's not vital or urgent in any way, but I thought it would be nice to > have a small information box saying something like "Invalid Cookie" > inside invenio (or something similar), and refrain from producing an > exception and sending an email to the admin...
You are perfectly right! Thanks for reporting this. The same behaviour indeed exists also in the release 0.99.1 so I prepared a patch to fix the bug that cleanly applies to both the stable release and to the latest GIT master. <http://cdsware.cern.ch/repo/?p=personal/cds-invenio- sam.git;a=commitdiff;h=9836d9190a0cb210cbc0df947fe2def25478a104> Best regards, Samuele P.s. I use this occasion to remember to other members of the list that most of the fixes to bugs found on the latest stable release (i.e. 0.99.1), are collected in my personal branch: <http://cdsware.cern.ch/repo/?p=personal/cds-invenio- sam.git;a=shortlog;h=my-0.99.1-fixes> -- Samuele Kaplun ** CERN Document Server ** <http://cds.cern.ch/>
