Skip to content

Conversation

@shinchris
Copy link
Contributor

Revision limit was not set from the constructor - user couldn't construct a new site item with a specific revision limit.

@shinchris
Copy link
Contributor Author

@t8y8
Copy link
Collaborator

t8y8 commented May 14, 2021

Shouldn't the setter on line 188 allow this?

@shinchris
Copy link
Contributor Author

Shouldn't the setter on line 188 allow this?

Yep, but the issue was when a user was creating a new site item, the revision_limit passed into new TSC.Site(... revision_limit=100) was not being used at all. The setter on line 188 was letting them set it to an existing site item, but not at creation time.

@t8y8
Copy link
Collaborator

t8y8 commented May 14, 2021

I see, we were clearing it to None

@t8y8 t8y8 self-requested a review May 14, 2021 17:00
@shinchris shinchris merged commit 54d7e59 into development May 14, 2021
@shinchris shinchris deleted the fix_revision_limit branch May 14, 2021 17:02
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 this pull request may close these issues.

3 participants