Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Panel] Unable to edit account #1910

Closed
afbora opened this issue Jul 10, 2019 · 3 comments

Comments

4 participants
@afbora
Copy link

commented Jul 10, 2019

I got this error on /panel/account and when any input on type throw console error and reset form.

I tried to edit any users and myself, no errors. I only see that page.

To Reproduce

  1. Normal installation
  2. Click on "Your account" and go to /panel/account

Screenshots

issue

issue2

Kirby Version
3.2.0, 3.2.1, 3.2.2

Console output

{status: "error", route: "(.*)/lock", exception: "Kirby\Exception\InvalidArgumentException", message: "Invalid file model type", key: "error.invalidArgument", …}

Desktop

  • Windows 10
  • Chrome 75.0.3770.100
@GiantCrocodile

This comment has been minimized.

Copy link

commented Jul 10, 2019

Yep, I have to agree: I got one or two different places where locking fails with errors but I didn't find out what causes these errors. They don't occur all time. It was related to accounts and to pages.

@afbora

This comment has been minimized.

Copy link
Author

commented Jul 10, 2019

This is about following lines:
https://github.com/getkirby/kirby/blob/release/3.2.2/src/Cms/Api.php#L121-L123

No account models.

@bastianallgeier

This comment has been minimized.

Copy link
Contributor

commented Jul 10, 2019

I just fixed this and added unit tests for the method. Will be in 3.2.2 in a couple minutes.

bastianallgeier added a commit that referenced this issue Jul 10, 2019

lukaskleinschmidt added a commit to lukaskleinschmidt/kirby that referenced this issue Jul 12, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.