OAuth token expiration ISE

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 2013-07-22
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:

                Version Package
                2013-07-22