1

Closed

Fatal Could not find member AccountType on type User

description

Simple login now failing!??!?!

On smugmug.login.withPassword, I'm now getting the following exception:

Fatal Could not find member AccountType on type User

Is anyone else getting this too?

Result of login:
{
  "stat": "ok",
  "method": "smugmug.login.withPassword",
  "Login": {
    "Session": {
      "id": "afe5ec83031166d095xxxxxxxxxx"
    },
    "User": {
      "id": 1164006,
      "DisplayName": "john-doe",
      "NickName": "john-doe",
      "URL": "http://john-doe.smugmug.com",
      "AccountType": "Portfolio",
      "FileSizeLimit": 52428800
    },
    "PasswordHash": "f14f3e5a5c90e276479680409f8b364322xxxxxxxxxxxxxxxxxxxx",
    "AccountStatus": "Active",
    "SmugVault": false
  }
}
Closed May 27, 2013 at 4:04 AM by alexgh

comments

alexgh wrote May 16, 2013 at 8:25 AM

That is not good :(

I will take a look. It is probably just a matter of adding the Portofolio item to the enum of account types.

What is even weirder is that I did not get notified of this issue until now...
Alex

alexgh wrote May 27, 2013 at 3:33 AM

I added the type to the accountStatusEnum.

Thanks

wrote May 27, 2013 at 4:04 AM

Resolved with changeset 83826: Fixes a couple of issues reported by users.