Select to view content in your preferred language

Gallery component rendering incorrect URLs for dataset items

607
2
06-14-2019 12:10 AM
MatejVrtich
Esri Contributor

Hi,

I am having some issues with a Gallery component, specifically, some dataset items inside a Gallery seems to have incorrect URL.

Here is my sandbox Site: https://data-mato.hub.arcgis.com/ (if you open a browser console, you can see an error hitting a non-existent URL: https://opendata.arcgis.com/api/v3/datasets/737fcd6f16cc4f9db9dff13bdb232c4f_0)

The first item's URL on a card (incorrect): https://data-mato.hub.arcgis.com/datasets/737fcd6f16cc4f9db9dff13bdb232c4f

The second item's URL on a card (correct): https://data-mato.hub.arcgis.com/datasets/sb%C4%9Brn%C3%A9-dvory

Actually, the incorrect URL is live, however, the data is not available for download on that URL (just an API access is available).

Here are these two datasets as seen by the Open Data API: https://opendata.arcgis.com/api/v2/organizations/X8MyLh2EYfF6JalU/datasets (you can see that both of these dataset URLs are correct, just a Gallery component is rendering it differently).

Finally, if I search these datasets on https://data-mato.hub.arcgis.com/search?collection=Dataset, both datasets are rendered with correct URLs.

Any idea what's wrong?

Thanks,

Matej

0 Kudos
2 Replies
by Anonymous User
Not applicable

Hi Matej,

Sorry to hear you're having problems with the gallery card. I'd like to triage the bug but it looks like your site isn't shared publicly. Would you be able to make it public?

Thanks,

Patrick

0 Kudos
MatejVrtich
Esri Contributor

Hi Patrick,

I re-created the site with a new AGOL July release to check if the issue is still there and I forgotten to share the new site publicly.

I can confirm that the issue with gallery is still there and the site is publicly shared again.

Thank you,

Matej

0 Kudos