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

Don't 'replace' isNone value with isNone value #70

Merged
merged 1 commit into from
Nov 11, 2014
Merged

Don't 'replace' isNone value with isNone value #70

merged 1 commit into from
Nov 11, 2014

Conversation

chrisyunker
Copy link
Contributor

In an environment with two sources connected with bi-directional transform-connectors, if you replace a value with a 'null', it creates an infinite loop. See this for an example: http://jsfiddle.net/chrisyunker/0neso67b/. It also does the same if you replace value with 'undefined'.

Adding another check for this situation in 'transform-connector.transform' is one way to fix this. However, there may be a better way.

dgeb added a commit that referenced this pull request Nov 11, 2014
Don't 'replace' isNone value with isNone value
@dgeb dgeb merged commit e439e4a into orbitjs:master Nov 11, 2014
@dgeb
Copy link
Member

dgeb commented Nov 11, 2014

@chrisyunker thanks!

I created a separate issue (#71) to ensure that we get some tests in place to prevent a regression.

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