When an admin edits a layer name and tries to save the layer, the site tries to redirect to the url for the old layer name, which no longer exists. Need to change the url to the new name.
http://git.yoctoproject.org/cgit/cgit.cgi/layerindex-web/commit/?id=432c9d408ef761c362ae95905f8afe541028ba62