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

Trying to delete script causes ISE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2023-08-07
    • None
    • Editing interface
    • None

      Trying to delete a script causes the following ISE:

      Can't locate object method "has_children" via package "MusicBrainz::Server::Data::Script" at lib/MusicBrainz/Server/Controller/Attributes.pm line 135. at lib/MusicBrainz/Server/Controller/Attributes.pm line 135

       

      Seems that when implementing MBS-10076 I forgot that script (and language) have no "has_children". Probably safe to just add a has_children { 0 } method to both.

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

              Created:
              Updated:
              Resolved:

                Version Package
                2023-08-07