﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6441	"turnrestrictions plugin putting wrong end of split highway in ""To"" when selecting ""Only Right Turn"""	rickmastfan67	team	"Just was adding in a turn restriction and when I split the highway after putting it into the ""To"" box, I noticed the plugin put in the wrong segment when I had selected the ""Only Right Turn"" option. (NOTE: This is also happening the the ""No Right Turn"" option.)

Steps to reproduce:

1. Load the attached osm file in JOSM.
2. Select the top motorway_link.
3. Hit the ""Create a new Turn Restriction"" button. (the motorway_link should already be in the ""From"" box)
4. Select the ""primary"" highway and put it in the ""To"" box.
5. Select either the ""No Right Turn"" or ""Only Right Turn"" options in the ""Type"" box (doesn't matter which one, happens with both)
6. Select the ""errors"" tab.
7. Hit the ""Set via-Object"" button to select the intersecting node.
8. Now, the only error left should be the ""US 74 Business (12 nodes)"" needs to be split.
9. Hit the ""Split now"" button.

Results:[[BR]]
The turnrestrictions plugin puts the wrong part of the split way in the ""To"" box.

Expected Results:[[BR]]
The turnrestrictions plugin puts the correct part of the split way in the ""To"" box.


This is with r4125 and turnrestrictions v26079"	defect	new	major		Plugin turnrestrictions	latest			
