rejectedsoftware / vibenews

Combined web forum and NNTP server implementation for stand-alone newsgroups
GNU Affero General Public License v3.0
44 stars 3 forks source link

Changing the users email address results in 500-errors #17

Closed ghost closed 10 years ago

ghost commented 10 years ago

Changing the email address in the edit profile section gives

500 - Internal Server Error

Internal Server Error

Internal error information:
object.Exception@../userman/source/userman/controller.d(231): The specified user name is not registered.
----------------
./vibenews(pure @safe bool std.exception.enforce!(bool).enforce(bool, lazy const(char)[], immutable(char)[], ulong)+0x6b) [0x7ccb67]
./vibenews(userman.controller.User userman.controller.UserManController.getUserByName(immutable(char)[])+0x124) [0x8da050]
./vibenews(void delegate(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse) userman.web.UserManWebInterface.auth(void delegate(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse, userman.controller.User)).void requestHandler(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse)+0xe9) [0x8dc19d]
./vibenews(void vibe.http.router.URLRouter.handleRequest(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse)+0x179) [0x6f53fd]
./vibenews(bool vibe.http.server.handleRequest(vibe.core.stream.Stream, vibe.core.net.TCPConnection, vibe.http.server.HTTPServerListener, ref vibe.http.server.HTTPServerSettings, ref bool)+0x17d1) [0x6ea635]
./vibenews(void vibe.http.server.handleHTTPConnection(vibe.core.net.TCPConnection, vibe.http.server.HTTPServerListener)+0x12b) [0x6e8d77]
./vibenews(void vibe.http.server.listenHTTPPlain(vibe.http.server.HTTPServerSettings, void delegate(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse)).void doListen(vibe.http.server.HTTPServerSettings, vibe.http.server.HTTPServerListener, immutable(char)[]).void __lambda77(vibe.core.net.TCPConnection)+0x2c) [0x6e4fe8]
./vibenews(extern (C) nothrow void vibe.core.drivers.libevent2_tcp.onConnect(int, short, void*).void ClientTask.execute()+0x2d6) [0x7037aa]
./vibenews(_D4vibe4core4core12__T7runTaskZ7runTaskFDFZvZS4vibe4core4task4Task12callDelegateFC4vibe4core4core8CoreTaskZv+0x2b) [0x71bb7f]
./vibenews(void vibe.core.core.CoreTask.run()+0x14a) [0x717c6e]
./vibenews(void core.thread.Fiber.run()+0x2a) [0x91afee]
./vibenews(fiber_entryPoint+0x61) [0x91aef9]
[(nil)]
ghost commented 10 years ago

I should add that subsequent tries to edit the profile gives the same error, as long as one hasn't logged in and out again.