Exception if replication type is slave but no data in replication_control

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 2016-12-19
    • Affects Version/s: None
    • Component/s: Database setup
    • None

      I imported a dump, and set the DBDefs Replication type to RT_SLAVE.
      I currently have no data in my replication_control table (due to a semi-failed import), and so get this error if I visit the front page of my server:

      Error:

      Caught exception in MusicBrainz::Server::Controller::Root->begin "stash takes a hash or hashref at /home/musicbrainz/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 162."
      Stack trace:
      line 301 MusicBrainz::Server::Controller::Root

      I'm not sure if this should be considered a real error though, since I didn't have a complete database imported.

            Assignee:
            Ulrich Klauer
            Reporter:
            Alastair Porter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2016-12-19