Esri JS Breaking Change to PopupTemplate

3942
3
Jump to solution
07-17-2018 09:31 AM
JackFairfield
Occasional Contributor II

When upgrading to the latest version (4.8) of the esri js api, I noticed that my popup template functions no longer are working.  If you see the below JS Bin, the function app.populationChange doesn't work.  If you switch back the cdn references to 4.7, the popup looks correct.  I didn't see this breaking change in the release notes.  It seems like a function within an object no longer works, but a standalone function still works.  Is this a bug?  Or is this intended behavior?

JS Bin - Collaborative JavaScript Debugging 

0 Kudos
1 Solution

Accepted Solutions
HeatherGonzago
Esri Contributor

Hi Jack,

We've logged this as a bug in the API. Hopefully, this should get this addressed in the next release. In the meantime, it does appear to work if you remove the app object.

Thanks for letting us know,

Heather

View solution in original post

3 Replies
HeatherGonzago
Esri Contributor

Hi Jack,

We've logged this as a bug in the API. Hopefully, this should get this addressed in the next release. In the meantime, it does appear to work if you remove the app object.

Thanks for letting us know,

Heather

HeatherGonzago
Esri Contributor

Just wanted to give you a head's up that this issue has been addressed. It should work properly in our next 4.9 release.

JackFairfield
Occasional Contributor II

Thanks for the response.  I appreciate the prompt resolution to this issue.

0 Kudos