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

Error upon changing unsquare building threshold #6690

Closed
quincylvania opened this issue Jul 26, 2019 · 0 comments
Closed

Error upon changing unsquare building threshold #6690

quincylvania opened this issue Jul 26, 2019 · 0 comments
Assignees
Labels
bug A bug - let's fix this!
Milestone

Comments

@quincylvania
Copy link
Collaborator

Seems like this validation is getting called without a valid graph parameter.

[Error] TypeError: graph.transient is not a function. (In 'graph.transient(this, 'geometry', function() {
	            return this.isArea() ? 'area' : 'line';
	        })', 'graph.transient' is undefined)
	geometry (iD.js:32066)
	isBuilding (iD.js:64587)
	checkUnsquareWay (iD.js:64594)
	(anonymous function) (iD.js:64806)
	forEach
	changeSquareThreshold (iD.js:64805)
	changeSquare (iD.js:99825)
	(anonymous function) (iD.js:7947)
@quincylvania quincylvania added the bug A bug - let's fix this! label Jul 26, 2019
@quincylvania quincylvania added this to the 2.15.5 milestone Jul 26, 2019
@quincylvania quincylvania self-assigned this Jul 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug - let's fix this!
Projects
None yet
Development

No branches or pull requests

1 participant