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

Remove checkid script [5.2] #2583

Closed
wants to merge 13 commits into from
Closed

Conversation

mauritsvanrees
Copy link
Sponsor Member

Issue #2582. Test together with others.

…ck_id.

No code changes yet, so this will need to be fixed.
This just makes it easier to see what has changed compared with the original script.
Mostly: use context instead of container.
This used to be done automatically when it was still a skin script.
Mostly less indentation.
This took up half of the function.
This had try/except Unauthorized a couple of times, which will likely not be raised now that it is no longer a skin script.
But for safety we call _check_for_collision with a try/except Unauthorized.
Happens in basic plone.app.content tests.
mauritsvanrees and others added 3 commits October 6, 2018 14:18
@mauritsvanrees
Copy link
Sponsor Member Author

Manually merged to master to fix conflicts. Some Python 3 fixes had been done on master and I took them over.

@mauritsvanrees mauritsvanrees deleted the remove-checkid-script branch October 22, 2018 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants