Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-10095

Provide a better error than an ISE if trying to admin edit non-existing user

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2019-06-03
    • Component/s: Accounts
    • Labels:
      None

      Description

      Trying to edit a non-existing user (because of a typo or whatnot) gives the error "Caught exception in MusicBrainz::Server::Controller::Admin->edit_user "Can't call method "id" on an undefined value at lib/MusicBrainz/Server/Controller/Admin.pm line 16."". We should do this a bit more prettily.

        Attachments

          Activity

            People

            • Assignee:
              reosarevok Nicolás Tamargo
              Reporter:
              reosarevok Nicolás Tamargo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                2019-06-03