Closed ivanprado closed 6 years ago
Debugging I have found that the problem is at file https://github.com/splashblot/cartodb.js/blob/v4testing/src/dataviews/histogram-dataview-model.js#L317
It seems that rebase rebase v4 aug 31st
replaced the proper toJSON
method over there: https://github.com/splashblot/cartodb.js/commit/a499449ccc575d20f4252db8f850f6240b6b9cee#diff-0e596f1ff73f3cd2345f287e35e2501bL177
No sure how to act in that case. @apercas how would you attack that?
I have seen on development branch at Carto repo and src/dataviews
don't even exists, so I suspect that is not the current version branch.
Ok, I have found the branch, probably is the one named v4
. It has all the sense as our branch is named v4testing
. The toJSON
method looks right over there.
The problem was introduced at rebase v4 aug 31st
commit. I have tried to use the v4testingprerebase
branch that contains cartodb.js before any raster change. Histogram worked. Then I just tried to path the toJSON function. The error disappeared but the widget is not shown. So there should be other problems.
Context
I was creating a map with just one vectorial layer with polygons. Each polygon has associated a radius. I wanted to create a widget with the radius. It breaks at tileo.co and in my local environment.
Steps to Reproduce
radius
column. You'll see the following error:Current Result
Map gets broken after that.
Browser and version
Chrome
More information
I see the following error in browser console: