{"action":"created","issue":{"url":"https://api.github.com/repos/processwire/processwire-issues/issues/322","repository_url":"https://api.github.com/repos/processwire/processwire-issues","labels_url":"https://api.github.com/repos/processwire/processwire-issues/issues/322/labels{/name}","comments_url":"https://api.github.com/repos/processwire/processwire-issues/issues/322/comments","events_url":"https://api.github.com/repos/processwire/processwire-issues/issues/322/events","html_url":"https://github.com/processwire/processwire-issues/issues/322","id":244092060,"number":322,"title":"Additional language page name doesn't validate if it already exists","user":{"login":"PWaddict","id":23142666,"avatar_url":"https://avatars2.githubusercontent.com/u/23142666?v=4","gravatar_id":"","url":"https://api.github.com/users/PWaddict","html_url":"https://github.com/PWaddict","followers_url":"https://api.github.com/users/PWaddict/followers","following_url":"https://api.github.com/users/PWaddict/following{/other_user}","gists_url":"https://api.github.com/users/PWaddict/gists{/gist_id}","starred_url":"https://api.github.com/users/PWaddict/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PWaddict/subscriptions","organizations_url":"https://api.github.com/users/PWaddict/orgs","repos_url":"https://api.github.com/users/PWaddict/repos","events_url":"https://api.github.com/users/PWaddict/events{/privacy}","received_events_url":"https://api.github.com/users/PWaddict/received_events","type":"User","site_admin":false},"labels":[{"id":632795888,"url":"https://api.github.com/repos/processwire/processwire-issues/labels/status:%20fixed%20(please%20confirm)","name":"status: fixed (please confirm)","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2017-07-19T16:00:59Z","updated_at":"2018-04-12T00:24:35Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nIf you want your bug report\r\n* to be more difficult to process and understand\r\n* to have many unnecessary follow-up questions\r\n* to take longer to fix then necessary\r\ndon’t use this issue template.\r\n\r\nIf you want your bug report \r\n* to be concise and easy to understand\r\n* to not have any (or very few) follow-up questions\r\n* to take faster to fix\r\nuse this issue template. Thank you.\r\n-->\r\n\r\n### Short description of the issue\r\n\r\nIf I edit the page name of an additional language it doesn't validate if it already exists.\r\n\r\n### Expected behavior\r\n\r\nPage name for additional language should be checked if already exists and name it properly just like it happens on the default language page name: Session: Changed page URL name to \"test-1\" because requested name was already taken.\r\n\r\n### Actual behavior\r\n\r\nPage name for an additional language saved without renaming with the \"-1\" if it already exists which leads to having multiple pages with the same additional language page name.\r\n\r\n### Steps to reproduce the issue\r\n<!-- Provide an unambiguous set of steps to reproduce the issue. -->\r\n\r\n1. Create 2 pages with the same title on the default language. Leave empty the titles on additional languages.\r\n2. Edit the additional language's page name of the 2nd page with the same additional language's page name from the 1st page or vice versa.\r\n\r\n### Setup/Environment\r\n<!--\r\n* Include as many relevant details about your environment setup as possible.\r\n* Hint: Using the Tracy Debugger module makes this a breeze: https://processwire.com/blog/posts/introducing-tracy-debugger/#versions-list\r\n-->\r\n\r\n* ProcessWire version: 3.0.82\r\n"},"comment":{"url":"https://api.github.com/repos/processwire/processwire-issues/issues/comments/380636031","html_url":"https://github.com/processwire/processwire-issues/issues/322#issuecomment-380636031","issue_url":"https://api.github.com/repos/processwire/processwire-issues/issues/322","id":380636031,"user":{"login":"PWaddict","id":23142666,"avatar_url":"https://avatars2.githubusercontent.com/u/23142666?v=4","gravatar_id":"","url":"https://api.github.com/users/PWaddict","html_url":"https://github.com/PWaddict","followers_url":"https://api.github.com/users/PWaddict/followers","following_url":"https://api.github.com/users/PWaddict/following{/other_user}","gists_url":"https://api.github.com/users/PWaddict/gists{/gist_id}","starred_url":"https://api.github.com/users/PWaddict/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PWaddict/subscriptions","organizations_url":"https://api.github.com/users/PWaddict/orgs","repos_url":"https://api.github.com/users/PWaddict/repos","events_url":"https://api.github.com/users/PWaddict/events{/privacy}","received_events_url":"https://api.github.com/users/PWaddict/received_events","type":"User","site_admin":false},"created_at":"2018-04-12T00:24:34Z","updated_at":"2018-04-12T00:24:34Z","author_association":"NONE","body":"@ryancramerdesign There are no more duplicates. Thank you for fixing it."}}
{"actor":{"display_login":"PWaddict"}}