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

revert part of TestPlant imports. The _updateFieldEditor method is #328

Merged
merged 1 commit into from
Jan 25, 2025

Conversation

rmottola
Copy link
Member

called after setUpFieldEditorAttributes so it reset attributes set to NSText text object.

called *after* setUpFieldEditorAttributes so it reset attributes set to
NSText text object.
@rmottola rmottola requested a review from fredkiefer as a code owner January 24, 2025 01:13
@rmottola rmottola requested review from fredkiefer and removed request for fredkiefer January 24, 2025 01:13
@fredkiefer
Copy link
Member

I fully agree with you that this change is wrong and shouldn't be there. But on the other side TestPlant had a reason to write something and Greg also had a reason to apply this change. So even though that change was wrong we should try to find out what the underlying issue was that they tried to resolve and maybe address that in a better way?
If we just revert it, we might end up in a commit battle.

@gcasa
Copy link
Member

gcasa commented Jan 24, 2025

I fully agree with you that this change is wrong and shouldn't be there. But on the other side TestPlant had a reason to write something and Greg also had a reason to apply this change. So even though that change was wrong we should try to find out what the underlying issue was that they tried to resolve and maybe address that in a better way?

If we just revert it, we might end up in a commit battle.

The volume of changes that came on from testplant/keysight was difficult to deal with. As I remember I questioned this one when I reviewed it, but I decided to accept it only because it seemed minor.

I am okay with this change being reverted and if keysight responds we will deal with it at that point. At least we will learn more and might be able to help them address the actual issue.

Copy link
Member

@gcasa gcasa left a comment

Choose a reason for hiding this comment

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

See my previous comment about this. This method is highly questionable. Approved.

@rmottola
Copy link
Member Author

@fredkiefer @gcasa of course they wanted to "fix" something, but without a testcase it is difficult to reproduce. If they ask to reopenit, we shall ask for examples, more testing or evidence. In our case this revert fixes the edit bug of the Cells in AddressView I checked with you one evening.

@rmottola rmottola merged commit efb5878 into master Jan 25, 2025
4 checks passed
@rmottola rmottola deleted the fix_TextObject_properties branch January 25, 2025 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants