<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Issue with Editor Widget and polygons &amp;gt; 4.20 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1084280#M74070</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/226130"&gt;@MatthieuThery1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;There is an existing bug submitted recently for this issue&amp;nbsp;BUG-000141323. This is caused when creating polygons with z-values. Point and polylines still work. This bug was introduced when snapping was added to the SketchViewModel at 4.19. Even though you may not be using snapping, you can still run into this issue.&lt;/P&gt;&lt;P&gt;I apologize for this, we are actively working on this bug, and hope to get this fixed for version 4.21.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jul 2021 23:27:09 GMT</pubDate>
    <dc:creator>JoseBanuelos</dc:creator>
    <dc:date>2021-07-29T23:27:09Z</dc:date>
    <item>
      <title>Issue with Editor Widget and polygons &gt; 4.20</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1083424#M74044</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are having issues when using the Editor widget on some of our Feature Layers. It happens when we try and add a new polygon. It then crashes the widget and throws an error, so we're unable to add any features at all.&lt;/P&gt;&lt;P&gt;The error we're getting is the following&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MatthieuThery1_0-1627461825794.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/19501i9392DB92BB52B313/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MatthieuThery1_0-1627461825794.png" alt="MatthieuThery1_0-1627461825794.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;it was working ok in 4.18&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;edit: it seems it's affecting only layers that have Z values enabled. if that helps&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 10:16:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1083424#M74044</guid>
      <dc:creator>MatthieuThery1</dc:creator>
      <dc:date>2021-07-29T10:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Editor Widget and polygons &gt; 4.20</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1084280#M74070</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/226130"&gt;@MatthieuThery1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;There is an existing bug submitted recently for this issue&amp;nbsp;BUG-000141323. This is caused when creating polygons with z-values. Point and polylines still work. This bug was introduced when snapping was added to the SketchViewModel at 4.19. Even though you may not be using snapping, you can still run into this issue.&lt;/P&gt;&lt;P&gt;I apologize for this, we are actively working on this bug, and hope to get this fixed for version 4.21.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 23:27:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1084280#M74070</guid>
      <dc:creator>JoseBanuelos</dc:creator>
      <dc:date>2021-07-29T23:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Editor Widget and polygons &gt; 4.20</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1092398#M74412</link>
      <description>&lt;P&gt;Hi, we were also working through this problem and I just confirmed that republishing the data with has Z: false has worked around the above issue.&amp;nbsp; Many thanks to&amp;nbsp;@&lt;SPAN&gt;ShawnGoulet1 for keying me into this.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 18:54:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1092398#M74412</guid>
      <dc:creator>SBerg_VHB</dc:creator>
      <dc:date>2021-08-25T18:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Editor Widget and polygons &gt; 4.20</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1092400#M74413</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/309070"&gt;@SBerg_VHB&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/226130"&gt;@MatthieuThery1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;We have fixed this for version 4.21!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 19:02:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1092400#M74413</guid>
      <dc:creator>JoseBanuelos</dc:creator>
      <dc:date>2021-08-25T19:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Editor Widget and polygons &gt; 4.20</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1097240#M74636</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/349741"&gt;@JoseBanuelos&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure if this is linked to the above but we found an issue that happens when we try to use the cancel() method on the SketchViewModel, while updating/reshaping a polyline.&lt;/P&gt;&lt;P&gt;We are getting the following error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MatthieuThery1_0-1631288165048.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/22762i17FCDFB6CDEAEAE0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MatthieuThery1_0-1631288165048.png" alt="MatthieuThery1_0-1631288165048.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which seems to be related to snapping. It was working fine in 4.19.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 15:39:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1097240#M74636</guid>
      <dc:creator>MatthieuThery1</dc:creator>
      <dc:date>2021-09-10T15:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Editor Widget and polygons &gt; 4.20</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1097318#M74638</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/226130"&gt;@MatthieuThery1&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Can you provide a repro sample codepen? Can you provide the current version you are using, and the steps to reproduce this?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I tested this in 4.20 and our latest build today and I am not able to repro with SketchViewModel. There might be an additional step I'm missing that can lead to this issue.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 18:35:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1097318#M74638</guid>
      <dc:creator>JoseBanuelos</dc:creator>
      <dc:date>2021-09-10T18:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Editor Widget and polygons &gt; 4.20</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1097548#M74645</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/349741"&gt;@JoseBanuelos&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi, I created a codepen here:&amp;nbsp;&lt;A href="https://codepen.io/mtrsklnkvMM/pen/xxrrLZP" target="_blank"&gt;https://codepen.io/mtrsklnkvMM/pen/xxrrLZP&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I set the environment to 4.19, so as you can see the original behaviour.&amp;nbsp;&lt;/P&gt;&lt;P&gt;steps:&lt;/P&gt;&lt;P&gt;1-Create a single polyline&lt;/P&gt;&lt;P&gt;2-click to select it and then click a second time to enter "reshape mode"&lt;/P&gt;&lt;P&gt;3-Try to move the middle vertex&lt;/P&gt;&lt;P&gt;4-It splits the line in half&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now If I switch to 4.20, it crashes the map in codepen (throws the error mentionned above in our app too).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 09:02:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1097548#M74645</guid>
      <dc:creator>MatthieuThery1</dc:creator>
      <dc:date>2021-09-13T09:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Editor Widget and polygons &gt; 4.20</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1097708#M74652</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/226130"&gt;@MatthieuThery1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the repro sample and step, this is definitely an issue. We are looking into this, and thanks for bringing this up to our attention.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 16:59:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1097708#M74652</guid>
      <dc:creator>JoseBanuelos</dc:creator>
      <dc:date>2021-09-13T16:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Editor Widget and polygons &gt; 4.20</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1116016#M75252</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/349741"&gt;@JoseBanuelos&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had a look at 4.21, and it seems that the issue above has been partially fixed, as it doesn't crash the map anymore when doing :&lt;/P&gt;&lt;P&gt;if (toolEventInfo.type === 'vertex-add') sketch.undo();&lt;BR /&gt;if (toolEventInfo.type === 'reshape-start') sketch.cancel();&lt;/P&gt;&lt;P&gt;It just doesn't do anything to the line.&lt;/P&gt;&lt;P&gt;If I change and do :&lt;/P&gt;&lt;P&gt;if (toolEventInfo.type === 'vertex-add') sketch.undo();&lt;BR /&gt;if (toolEventInfo.type === 'reshape') sketch.cancel();&lt;/P&gt;&lt;P&gt;Then it splits the line like in 4.19, however the remaining half line seems to rotate a bit (see codePen&amp;nbsp;&lt;A href="https://codepen.io/mtrsklnkvMM/pen/xxrrLZP" target="_blank"&gt;https://codepen.io/mtrsklnkvMM/pen/xxrrLZP&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;I have tried different things, but can't make it work. Do you have any idea to achieve what we're trying&lt;/P&gt;&lt;P&gt;( steps in message above)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 14:20:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1116016#M75252</guid>
      <dc:creator>MatthieuThery1</dc:creator>
      <dc:date>2021-11-11T14:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Editor Widget and polygons &gt; 4.20</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1116048#M75259</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/226130"&gt;@MatthieuThery1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Apologies for these inconsistencies you are seeing. There were some updates done at 4.21 we hoped would have resolved this, and it appears partially resolved. I am also seeing the slight rotation. It depends on where you try to move the cursor up/down where we see the line rotate up/down. We will look into this further, and I will reach out directly to you if we have some additional questions.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 16:32:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1116048#M75259</guid>
      <dc:creator>JoseBanuelos</dc:creator>
      <dc:date>2021-11-11T16:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Editor Widget and polygons &gt; 4.20</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1119659#M75381</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/226130"&gt;@MatthieuThery1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Can you test this with the following cdn please?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;script src="https://js.arcgis.com/next/"&amp;gt;&amp;lt;/script&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 23 Nov 2021 19:48:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1119659#M75381</guid>
      <dc:creator>JoseBanuelos</dc:creator>
      <dc:date>2021-11-23T19:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Editor Widget and polygons &gt; 4.20</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1119675#M75382</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/349741"&gt;@JoseBanuelos&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi, yes it looks like it's working now with that cdn!&lt;/P&gt;&lt;P&gt;Will that be included in 4.22 ?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 20:35:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1119675#M75382</guid>
      <dc:creator>MatthieuThery1</dc:creator>
      <dc:date>2021-11-23T20:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Editor Widget and polygons &gt; 4.20</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1119712#M75385</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/226130"&gt;@MatthieuThery1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Great! Thanks for confirming this is working for you as well. Yes, this will be included for 4.22 in our December release. Thanks again for bringing this issue to our attention!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 22:22:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-editor-widget-and-polygons-gt-4-20/m-p/1119712#M75385</guid>
      <dc:creator>JoseBanuelos</dc:creator>
      <dc:date>2021-11-23T22:22:59Z</dc:date>
    </item>
  </channel>
</rss>

