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

OAuth token expiration ISE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2013-07-22
    • Component/s: Web service
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                2013-07-22