{"action":"created","issue":{"url":"https://api.github.com/repos/openlayers/openlayers/issues/6310","repository_url":"https://api.github.com/repos/openlayers/openlayers","labels_url":"https://api.github.com/repos/openlayers/openlayers/issues/6310/labels{/name}","comments_url":"https://api.github.com/repos/openlayers/openlayers/issues/6310/comments","events_url":"https://api.github.com/repos/openlayers/openlayers/issues/6310/events","html_url":"https://github.com/openlayers/openlayers/issues/6310","id":197787608,"number":6310,"title":"error when modifying polygon","user":{"login":"hyperknot","id":494223,"avatar_url":"https://avatars.githubusercontent.com/u/494223?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperknot","html_url":"https://github.com/hyperknot","followers_url":"https://api.github.com/users/hyperknot/followers","following_url":"https://api.github.com/users/hyperknot/following{/other_user}","gists_url":"https://api.github.com/users/hyperknot/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperknot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperknot/subscriptions","organizations_url":"https://api.github.com/users/hyperknot/orgs","repos_url":"https://api.github.com/users/hyperknot/repos","events_url":"https://api.github.com/users/hyperknot/events{/privacy}","received_events_url":"https://api.github.com/users/hyperknot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-28T02:52:57Z","updated_at":"2017-01-07T09:17:44Z","closed_at":null,"body":"I just run into the following error while playing around, editing a simple polygon.\r\n\r\nUnfortunately I have no idea what triggered the bug, I was just (double) clicking around for testing.\r\n\r\nThe polygon was created simply by a draw interaction.\r\n\r\n3.20.1 / Chrome / OS X 10.11.6\r\n\r\n```\r\nAssertion failed: uid (%s) of value (%s) does not exist 137 Objectdepth: Array[1]feature: ol.Featuregeometry: ol.geom.Polygonindex: 4ol_uid: 137segment: Array[2]__proto__: Object\r\nol.structs.RBush.update @ ol-debug.js:34819\r\nol.interaction.Modify.handleUpEvent_ @ ol-debug.js:69494\r\nol.interaction.Pointer.handleEvent @ ol-debug.js:18627\r\nol.interaction.Modify.handleEvent @ ol-debug.js:69539\r\nol.Map.handleMapBrowserEvent @ ol-debug.js:41784\r\nboundListener @ ol-debug.js:3441\r\nol.events.EventTarget.dispatchEvent @ ol-debug.js:3859\r\nol.MapBrowserEventHandler.handlePointerUp_ @ ol-debug.js:17027\r\nboundListener @ ol-debug.js:3441\r\nol.events.EventTarget.dispatchEvent @ ol-debug.js:3859\r\nol.pointer.PointerEventHandler.fireNativeEvent @ ol-debug.js:16802\r\nol.pointer.NativeSource.pointerUp @ ol-debug.js:15645\r\nol.pointer.PointerEventHandler.eventHandler_ @ ol-debug.js:16591\r\nboundListener @ ol-debug.js:3441\r\n\r\nUncaught TypeError: Cannot read property 'minX' of undefined\r\n    at ol.structs.RBush.update (ol-debug.js:34823)\r\n    at ol.interaction.Modify.handleUpEvent_ (ol-debug.js:69494)\r\n    at ol.interaction.Modify.ol.interaction.Pointer.handleEvent (ol-debug.js:18627)\r\n    at ol.interaction.Modify.handleEvent (ol-debug.js:69539)\r\n    at ol.Map.handleMapBrowserEvent (ol-debug.js:41784)\r\n    at ol.MapBrowserEventHandler.boundListener (ol-debug.js:3441)\r\n    at ol.MapBrowserEventHandler.ol.events.EventTarget.dispatchEvent (ol-debug.js:3859)\r\n    at ol.MapBrowserEventHandler.handlePointerUp_ (ol-debug.js:17027)\r\n    at ol.pointer.PointerEventHandler.boundListener (ol-debug.js:3441)\r\n    at ol.pointer.PointerEventHandler.ol.events.EventTarget.dispatchEvent (ol-debug.js:3859)\r\nol.structs.RBush.update @ ol-debug.js:34823\r\nol.interaction.Modify.handleUpEvent_ @ ol-debug.js:69494\r\nol.interaction.Pointer.handleEvent @ ol-debug.js:18627\r\nol.interaction.Modify.handleEvent @ ol-debug.js:69539\r\nol.Map.handleMapBrowserEvent @ ol-debug.js:41784\r\nboundListener @ ol-debug.js:3441\r\nol.events.EventTarget.dispatchEvent @ ol-debug.js:3859\r\nol.MapBrowserEventHandler.handlePointerUp_ @ ol-debug.js:17027\r\nboundListener @ ol-debug.js:3441\r\nol.events.EventTarget.dispatchEvent @ ol-debug.js:3859\r\nol.pointer.PointerEventHandler.fireNativeEvent @ ol-debug.js:16802\r\nol.pointer.NativeSource.pointerUp @ ol-debug.js:15645\r\nol.pointer.PointerEventHandler.eventHandler_ @ ol-debug.js:16591\r\nboundListener @ ol-debug.js:3441\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/openlayers/openlayers/issues/comments/271072623","html_url":"https://github.com/openlayers/openlayers/issues/6310#issuecomment-271072623","issue_url":"https://api.github.com/repos/openlayers/openlayers/issues/6310","id":271072623,"user":{"login":"ahocevar","id":211514,"avatar_url":"https://avatars.githubusercontent.com/u/211514?v=3","gravatar_id":"","url":"https://api.github.com/users/ahocevar","html_url":"https://github.com/ahocevar","followers_url":"https://api.github.com/users/ahocevar/followers","following_url":"https://api.github.com/users/ahocevar/following{/other_user}","gists_url":"https://api.github.com/users/ahocevar/gists{/gist_id}","starred_url":"https://api.github.com/users/ahocevar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahocevar/subscriptions","organizations_url":"https://api.github.com/users/ahocevar/orgs","repos_url":"https://api.github.com/users/ahocevar/repos","events_url":"https://api.github.com/users/ahocevar/events{/privacy}","received_events_url":"https://api.github.com/users/ahocevar/received_events","type":"User","site_admin":false},"created_at":"2017-01-07T09:17:44Z","updated_at":"2017-01-07T09:17:44Z","body":"Can you reproduce it again? If so, a link to an example and step-by-step instructions for triggering the bug would help."}}
{"actor":{"display_login":"ahocevar"}}