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

OAuth token expiration ISE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2013-07-22
    • None
    • Web service
    • None

      Exception: Error: Can't locate object method "now" via package "Moose::Meta::TypeConstraint"

      This happens at line 106 of Entity::EditorOAuthToken, and the reason it's happening is that the top of the file has:

      use DateTime;
      <...>
      use MusicBrainz::Server::Types qw( DateTime );
      

      Which means that it fails trying to compare with DateTime->now.

            ianmcorvidae Ian McEwen
            ianmcorvidae Ian McEwen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2013-07-22