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

Error after changing an article without setting a Changer #88

Closed
thomasduenser opened this issue Mar 3, 2017 · 0 comments · Fixed by #93
Closed

Error after changing an article without setting a Changer #88

thomasduenser opened this issue Mar 3, 2017 · 0 comments · Fixed by #93
Milestone

Comments

@thomasduenser
Copy link
Contributor

Q A
Bug? yes
New Feature? no
Bundle Version dev-develop

Actual Behavior

When saving an article - after changing it via e.g. a Command without setting a changer - following error is thrown:

Entity with the type "" and the id "null" not found.

Request URL:http://oelz.dev/admin/api/users/null
Request Method:GET
Status Code:404 Not Found

Expected Behavior

It should not throw an error.

Steps to Reproduce

  1. Create an article and save it
  2. Update / change the article via a command without setting a changer
  3. Open the article in the backend and save.

Possible Solutions

Do not try to fetch a user when the changer is null or use the creator as changer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants