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

When trimming spaces, skip read-only attributes. #495

Merged
merged 2 commits into from
Jan 16, 2014

Conversation

fbarthez
Copy link
Contributor

No description provided.

@darkv
Copy link
Member

darkv commented Jan 15, 2014

As bonus question: did you check what happens if the whole entity has been set to read-only instead of a specific attribute?

@fbarthez
Copy link
Contributor Author

No, I didn't, but I imagine it'll throw as with a read-only attribute. I added a check for that case in a new commit.

Am 15.01.2014 um 09:34 schrieb Johann Werner notifications@github.com:

As bonus question: did you check what happens if the whole entity has been set to read-only instead of a specific attribute?


Reply to this email directly or view it on GitHub.

@darkv
Copy link
Member

darkv commented Jan 16, 2014

Thanks for your update. This could be further optimized, will do that in a separate commit.

darkv added a commit that referenced this pull request Jan 16, 2014
When trimming spaces, skip read-only attributes.
@darkv darkv merged commit 0591ed3 into wocommunity:master Jan 16, 2014
darkv added a commit that referenced this pull request Jan 16, 2014
@fbarthez fbarthez deleted the DontTrimReadOnly branch January 16, 2014 09:14
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.

2 participants