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

ISE when approving edit

XMLWordPrintable

      I went to approve an edit which I expected to fail as another, conflicting edit had already been approved… but I didn’t expect it to ISE!

      Internal Server Error
      
      Oops, something went wrong!
      
      Error:
      
      Can't call method "TO_JSON" on an undefined value at lib/MusicBrainz/Server/Entity/EditNote.pm line 128. at lib/MusicBrainz/Server/Entity/EditNote.pm line 128
      MusicBrainz::Server::Entity::EditNote::TO_JSON(?) called at lib/MusicBrainz/Server/Entity/Util/JSON.pm line 31
      MusicBrainz::Server::Entity::Util::JSON::to_json_object(?) called at lib/MusicBrainz/Server/Entity/Util/JSON.pm line 21
      MusicBrainz::Server::Entity::Util::JSON::to_json_array(?) called at lib/MusicBrainz/Server/Edit.pm line 311
      MusicBrainz::Server::Edit::TO_JSON(?) called at lib/MusicBrainz/Server/Controller/Edit.pm line 150
      Sql::run_in_transaction(?, ?) called at lib/MusicBrainz/Server/Model/MB.pm line 19
      MusicBrainz::Server::Model::MB::with_transaction(?, ?) called at lib/MusicBrainz/Server/Controller/Edit.pm line 165
      Catalyst::dispatch(?) called at lib/MusicBrainz/Server.pm line 390
      MusicBrainz::Server::__ANON__ at lib/MusicBrainz/Server.pm line 357
      MusicBrainz::Server::with_translations(?, ?) called at lib/MusicBrainz/Server.pm line 391
      Class::MOP::Method::Wrapped::__ANON__(?) called at lib/MusicBrainz/Server.pm line 405
      Class::MOP::Method::Wrapped::__ANON__(?) called at lib/MusicBrainz/Server.pm line 490
      
      Edits loaded for the page:
      
          81665339 (raw edit data)
      
      Time: 2021-08-06T08:56:31.770Z
      
      Host: c4f08cc691b6
      
      Interface language: en
      
      URL: https://musicbrainz.org/edit/81665339/approve?returnto=%2Fuser%2Fprestonhudman%2Fedits
      
      Request data:
      
      {
        "body_parameters": {},
        "query_parameters": {
          "returnto": "/user/prestonhudman/edits"
        }
      }
      

            reosarevok Nicolás Tamargo
            freso Freso
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2021-10-04