Impossible to Connect Two Nodes with a Segment Between

Steps to reproduce this issue:
1 - Search for a place where there are two nodes with a segment between them;
2 - Select a node and try to connect it to the other node;
3 - Click on Save Button;
4 - Receive the error: “Failed to save changes”.

WME Beta Permalink:
https://beta.waze.com/pt-BR/editor?env=row&lat=-22.75432&lon=-45.12704&zoomLevel=16

This bug occurs in:
ROW

WME Beta version number:
2.318 (I’m not sure, since I did not find it under “Waze Map Editor”)

Are you using scripts? which ones?:
No, and it is also reproducible in incognito tab.

PS: the screenshots are from a created example, since the original ones were solved with a workaround.

2 Likes

Hello, everyone!

When I try to connect two nodes with a segment between them, it displays the error “Failed to save changes”.
In Production, it works without any problems.
Is anyone else facing it?

The workaround I found is to delete the intermediary segment and connect the nodes, as you can see here and in the screenshots below.


It is similar to this bug, but, since that one was also in Production and apparently fixed, I decided to post here first.
If this post should be posted there, feel free to move it.

Thank you in advance!

2 Likes

I tried your steps and I was able to save without error. Could you post some exact steps, maybe I missed something.
I created an H like your first screen shot. Then I connected a new segment from one end node to the middle node of the other segment and it saved without error.

3 Likes

Hi, @RussPA!

Sure!
You created an H, that’s the first step.
The next one is connecting the middle nodes together, that is, dragging the green node over the blue node (see the image below) or vice versa.
After that, if you try to save, it displays the error.


I think the second screenshot of the first post is confusing, because it mixed up the H and the new edits, so you thought it was a new segment and not the same ones, sorry for that!
Just to make it clearer, imagine you have a duplicated avenue and you want to unduplicate it, that was what I initially tried to do here.

If it isn’t clear yet, I can explain in other words and with more images, just let me know.

Thank you for your quick answer!

2 Likes

OK, now I see what you are doing. I can reproduce the error, so issue created for staff. Thanks.

3 Likes

Moved this to production bugs since it is present in production WME now.

3 Likes

Thank you @RussPA!

1 Like

I cannot merge these 2 nodes (by dragging one on the other):
https://beta.waze.com/editor?env=row&lat=43.25925&lon=13.59390&s=18871037320875983960062&zoomLevel=20&segments=82727543&tab=issue_tracker

And these 2: https://beta.waze.com/editor?env=row&lat=43.25938&lon=13.59334&s=18871037320875984025598&zoomLevel=21&segments=248555707&tab=issue_tracker

Error: Saving Error
Failed to save changes
Suggestion: Check and try again

Earlier, I got the error: Node X was used after it was deleted.

3 Likes

Thank you @bedo2991 for flagging this problem. We have an internal ticket for it, and the team is addressing it. I will keep you posted about the progress.

Edited: @bedo2991, could you please help and check if the issue is happening also on production?

Most probably your case is similar to the issue reported in this bug: Impossible to Connect Two Nodes with a Segment Between

Many thanks in advance!

Regards,
Nataliia

2 Likes

Yes, it is also happening in production

3 Likes

Just reproduced in production here. Here is a recording reproducing it

chrome_psOnFntriO-ezgif.com-optimize

Request:

curl "https://www.waze.com/row-Descartes/app/Features?ignoreWarnings=false&language=pt-BR" 
  -H "accept: */*" 
  -H "accept-language: pt,en-US;q=0.9,en;q=0.8" 
  -H "cache-control: no-cache" 
  -H "content-type: application/json; charset=utf-8" 
  -H "origin: https://www.waze.com" 
  -H "pragma: no-cache" 
  -H "priority: u=1, i" 
  -H "referer: https://www.waze.com/pt-BR/editor?env=row&tab=issue_tracker" 
  -H "sec-ch-ua: \"Chromium\";v=\"142\", \"Google Chrome\";v=\"142\", \"Not_A Brand\";v=\"99\"" 
  -H "sec-ch-ua-mobile: ?0" 
  -H "sec-ch-ua-platform: \"Windows\"" 
  -H "sec-fetch-dest: empty" 
  -H "sec-fetch-mode: cors" 
  -H "sec-fetch-site: same-origin" 
  -H "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36" 
  -H "x-kl-ajax-request: Ajax_Request" 
  --data-raw "{\"actions\":{\"_subActions\":[{\"_subActions\":[{\"_subActions\":[{\"name\":\"UPDATE_FEATURE_GEOMETRY\",\"_objectType\":\"node\",\"action\":\"UPDATE\",\"attributes\":{\"geometry\":{\"type\":\"Point\",\"coordinates\":[-51.17195527094124,-23.2553870888944]},\"id\":161257418}},{\"_subActions\":[{\"name\":\"UPDATE_SEGMENT_GEOMETRY\",\"_objectType\":\"segment\",\"action\":\"UPDATE\",\"attributes\":{\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[-51.17212993955999,-23.255311737256495],[-51.17195527094124,-23.2553870888944]]},\"id\":158749611}}],\"name\":\"UPDATE_SEGMENT_GEOMETRY\"},{\"_subActions\":[{\"name\":\"UPDATE_SEGMENT_GEOMETRY\",\"_objectType\":\"segment\",\"action\":\"UPDATE\",\"attributes\":{\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[-51.17195527094124,-23.2553870888944],[-51.17193323231086,-23.254928630194417]]},\"id\":235563609}}],\"name\":\"UPDATE_SEGMENT_GEOMETRY\"},{\"_subActions\":[{\"name\":\"UPDATE_SEGMENT_GEOMETRY\",\"_objectType\":\"segment\",\"action\":\"UPDATE\",\"attributes\":{\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[-51.17195526381822,-23.25538708583472],[-51.17195527094124,-23.2553870888944]]},\"id\":235563601}},{\"_subActions\":[{\"name\":\"DELETE_SEGMENT\",\"_objectType\":\"segment\",\"action\":\"DELETE\",\"attributes\":{\"id\":235563601}}],\"name\":\"DELETE_SEGMENT\"}],\"name\":\"UPDATE_SEGMENT_GEOMETRY\"}],\"name\":\"MOVE_NODE\"},{\"_subActions\":[{\"_subActions\":[{\"name\":\"UPDATE_OBJECT\",\"_objectType\":\"segment\",\"action\":\"UPDATE\",\"attributes\":{\"id\":158749611,\"fwdTurnsLocked\":false,\"toNodeID\":null}}],\"name\":\"DISCONNECT_SEGMENT\"},{\"_subActions\":[{\"name\":\"UPDATE_OBJECT\",\"_objectType\":\"segment\",\"action\":\"UPDATE\",\"attributes\":{\"id\":158749611,\"toNodeID\":202938370}},{\"name\":\"UPDATE_OBJECT\",\"_objectType\":\"node\",\"action\":\"UPDATE\",\"attributes\":{\"id\":202938370,\"segIDs\":[235563594,256118413,158749611]}}],\"name\":\"CONNECT_SEGMENT\"},{\"_subActions\":[{\"name\":\"UPDATE_OBJECT\",\"_objectType\":\"segment\",\"action\":\"UPDATE\",\"attributes\":{\"id\":235563609,\"revTurnsLocked\":false,\"fromNodeID\":null}}],\"name\":\"DISCONNECT_SEGMENT\"},{\"_subActions\":[{\"name\":\"UPDATE_OBJECT\",\"_objectType\":\"segment\",\"action\":\"UPDATE\",\"attributes\":{\"id\":235563609,\"fromNodeID\":202938370}},{\"name\":\"UPDATE_OBJECT\",\"_objectType\":\"node\",\"action\":\"UPDATE\",\"attributes\":{\"id\":202938370,\"segIDs\":[235563594,256118413,158749611,235563609]}}],\"name\":\"CONNECT_SEGMENT\"},{\"_subActions\":[{\"name\":\"DELETE_NODE\",\"_objectType\":\"node\",\"action\":\"DELETE\",\"attributes\":{\"id\":161257418}}],\"name\":\"DELETE_NODE\"}],\"name\":\"MERGE_NODE\"}],\"name\":\"MOVE_AND_MERGE_NODE\"}],\"name\":\"DESCARTES_SERIALIZATION\"}}"
4 Likes

I get this too, Michigan City, IN

https://beta.waze.com/en-US/editor?env=usa&lat=41.65810&lon=-86.89043&zoomLevel=19&segments=541082691


3 Likes

Thank you for your examples @Gabriel25893 @dchary2418. I have updated the internal case accordingly and will keep you posted on the progress.

All the best,
Olesya

4 Likes

I am still unable to merge nodes. Another editor unaware of the problem removed this segment and merged the other segments. I am also resorting to this.

3 Likes

I am also encountering the same problem in WME prod.

1 Like

Hi @h4ck3r1248,

The issue is still being worked on. In the meantime, you might try the workaround mentioned by @dchary2418
We’ll keep you posted on further updates and apologies for the inconvenience.

Best,
Olesya

1 Like