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

Fixed an issue that caused an infinite loop when saving pofiles #5508

Merged
merged 1 commit into from
Jan 29, 2023

Conversation

valadas
Copy link
Contributor

@valadas valadas commented Jan 29, 2023

An automated stylecop fix caused a casing issue on a variable (IsValid vs isValid) that was a private field and a public property. The property calling a method and the method using the field (but in this case it was using the property by mistake and causing the endless loop).

I also fixed all other stylecop issues on the file and tested the build to confirm it fixes the issue.

Summary

An automated stylecop fix caused a casing issue on a variable (IsValid vs isValid) that was a private field and a public property. The property calling a method and the method using the field (but in this case it was using the property by mistake and causing the endless loop).

I also fixed all other stylecop issues on the file and tested the build to confirm it fixes the issue.
@valadas valadas added this to the 9.11.1 milestone Jan 29, 2023
Copy link
Contributor

@david-poindexter david-poindexter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch - thank you @valadas 🎉

Copy link
Contributor

@mitchelsellers mitchelsellers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You know, this is why I like using the _ prefix which is still in the Microsoft documentation for private backers.

But great catch

@mitchelsellers mitchelsellers merged commit e091f20 into dnnsoftware:develop Jan 29, 2023
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.

3 participants