Hoppa till huvudinnehållet

onClick action error: language-feature-sources-error

Kommentarer

33 kommentarer

  • Tania Taylor

    When I check the network. "The search component is throwing a TypeError when destructuring featureResult inside the query results handler, causing the parent QueryError map to fail." Is this common

    0
  • Malcolm Walker
    • Community-Manager

    Hi Tania,

    I believe this is a known issue, but a bit obscure. From our bug tracker:

    • this issue is triggered by layers that have an extent listed on their REST endpoint with coordinates that exceed the bounds of the layer's spatial reference.  Eg. for a Web Mercator layer, if any of the layer's extent's x/y min/max values exceed ~20,000,000
    • this issue only happens if there aren't too many results near the current map extent when the search is run.  It happens when the search extent is expanded several times.

    So, the workaround is to re-publish your layer and ensure that the layer extents fall within the bounds of your target spatial reference.

    I do not anticipate we will publish a fix for this bug, since it is a result of Esri's service publishing something that is unusual - we would not expect a layer's extent to exceed a spatial references' extent.

    0
  • Tania Taylor

    Thank you, Malcolm, for your response.

    I spent the rest of yesterday reviewing my services and feature classes, and they all fall within the ~20,000,000 Web Mercator limits you mentioned. Because of this, republishing the services would not resolve the issue.

    The problem seems isolated entirely to our Utility Network (UN) services, but importantly, these exact same layers work perfectly fine in our legacy GeoCortex environment. The failure only occurs in VertiGIS Studio. Furthermore, we noticed that your own public VertiGIS demo site throws this exact same red banner during use.

    To isolate the cause within VertiGIS, I tested several service types across our workflows:

    • UN editing services (Throws error)
    • UN services with definition queries at publication (Throws error)
    • UN MIL and feature services with no definition queries (Throws error)
    • UN File Geodatabase (FGDB) services (Works fine / No error)

    Only the UN FGDB services bypassed the red banner. Additionally, to rule out other variables, I tested non-UN services that utilize branch versioning, M/Z awareness, and archiving. None of those services experienced the issue.

    Since these services behave correctly in GeoCortex and their extents are mathematically valid, this looks like a regression or handling issue in VertiGIS Studio. Could you verify if your public sample site utilizes the Enterprise Utility Network, branch versioning, or M/Z aware layers? Knowing how the sample site is published might help us pinpoint exactly why the VertiGIS search widget handles these valid REST endpoints incorrectly when expanding the search extent.

    0

Du måste logga in om du vill lämna en kommentar.