Select to view content in your preferred language

Popup not working on specific feature layer on 4.26

978
7
06-13-2023 11:56 AM
khuels
by
Emerging Contributor

Upgrading from 4.25 to 4.26 has caused a specific layer to not be selectable and display popups. The only thing I can find that could possibly be a cause is the layer's UniqueValueInfos' value and label property aren't set in the drawing info.

0 Kudos
7 Replies
LaurenBoyd
Esri Contributor

Hi @khuels -

Can you try testing this with version 4.27? There was a fix for an issue (occurring at 4.26) where popups were not opening for MapImageLayer features that do not have a renderer. It sounds like you may be running into this issue. This was noted in the bug fixes and enhancements section within the release notes for 4.27: https://developers.arcgis.com/javascript/latest/release-notes/#bug-fixes-and-enhancements 

Lauren
0 Kudos
khuels
by
Emerging Contributor

Hello,

Yes, I saw that bug fix and thought it could be the issue. However, after upgrading to 4.27, the popup is still not showing for the specific features. And it's not every feature, only the features that have a blank uniqueValueInfos value and label (the first one below), the other two display popups fine.

khuels_0-1686754484835.png

 

0 Kudos
LaurenBoyd
Esri Contributor

@khuels would you be able to provide a CodePen that has a simplified repro with the problematic data?

Lauren
0 Kudos
khuels
by
Emerging Contributor

The data comes from an enterprise portal, so I couldn't share it, but I reproduced it locally and the error occurs when switching to 4.26 or higher. 

We confirmed it is because the value is NULL. Below are screenshots, but if you would like to meet to see it live, let me know. Thanks

khuels_1-1686766147435.png

 

khuels_2-1686766220971.png

 

0 Kudos
khuels
by
Emerging Contributor

Hello,

Checking on this issue. Please let me know if you need more information from me.

0 Kudos
LaurenBoyd
Esri Contributor

@khuels could you open a support case with Esri Technical Support so they can work with you on debugging this issue? https://support.esri.com/en-us/contact 

Lauren
0 Kudos
khuels
by
Emerging Contributor

Working on this now, thank you

0 Kudos