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

Do not connect pattern providers to interfaces on the same network #6842

Merged
merged 1 commit into from
Dec 24, 2022
Merged

Conversation

62832
Copy link
Member

@62832 62832 commented Dec 17, 2022

Fixes #6820.

if (otherNode.getOwner() instanceof PatternProviderLogicHost) {
if (otherNode.getOwner() instanceof PatternProviderLogicHost
|| (otherNode.getOwner() instanceof InterfaceLogicHost
&& otherNode.getGrid().equals(mainNode.getGrid()))) {
Copy link
Member

Choose a reason for hiding this comment

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

Weird that this check didn't exist for pattern providers? Why shouldn't you be able to push to a pattern provider on a different network?

Copy link
Member Author

Choose a reason for hiding this comment

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

I can't see myself why not, but I wasn't sure if there was any specific intent to disallowing any and all pattern providers from receiving other providers' inputs.

Copy link
Member

Choose a reason for hiding this comment

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

Hmmm this might have been an intended recent change. @shartte does that ring a bell?

Copy link
Member

Choose a reason for hiding this comment

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

No I don't think I changed that. At least not intentionally.

@Technici4n Technici4n merged commit 5832bec into AppliedEnergistics:master Dec 24, 2022
@62832 62832 deleted the fix-6820 branch December 24, 2022 11:26
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Minor Pattern Provider Improvement
3 participants