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

Changing the Container of a verified AR raises an Unauthorized Error #2191

Open
ramonski opened this issue Aug 23, 2017 · 1 comment
Open
Milestone

Comments

@ramonski
Copy link
Contributor

ramonski commented Aug 23, 2017

Steps to reproduce

  • Create a new AR and verify the results
  • Change the container of the AR View

Current behavior

Unauthorized Error occurs (not always).
It seems like it happens when the Container wasn't set and then set to a value.
Sometimes a few changes work and then the error occurs, which might be an indication of a race condition.

The Traceback shows this:

Traceback (innermost last):
  Module ZPublisher.Publish, line 127, in publish
  Module ZPublisher.BaseRequest, line 623, in traverse
  Module ZPublisher.HTTPResponse, line 756, in unauthorized
Unauthorized: You are not authorized to access this resource.
No Authorization header found.

Which might be an indicator that code is executed somewhere in __init__, because the user and ZCA is no ready at this stage of execution.

Expected behavior

Either the selection is not displayed or it should not raise an unauthorized Error

Screenshot (optional)

h2o-0009-r01_ _bika

bika

@ramonski ramonski added this to the 3.2.1 milestone Aug 23, 2017
@ramonski
Copy link
Contributor Author

Seems like the error only happens if the checkbox was not checked before clicking the submit button.

@ramonski ramonski modified the milestones: 3.2.1, 3.3.0 Oct 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant