Page MenuHomePhabricator

While one user is typing captcha, others can create page with the same name
Open, LowPublic

Description

When user is publishing translation in CX, captcha can be shown to check if user isn't a robot. While user is typing captcha (once or more times, because of failed attempts), someone else can create page with the same name. We (will) warn users about already existing title (T190038) while they are editing and give "Publish anyway" option to potentially overwrite existing pages, but that is not covering this corner use case.

From gerrit comments on 427196:

@Nikerabbit wrote:
There is a small race condition here: someone can create the page while the user is typing captcha. It is such a rare case that I think we can safely ignore it. action=edit has createonly/nocreate parameters which could be used to detect this case, but cxpublish doesn't have them.

Event Timeline

Pginer-WMF triaged this task as Low priority.May 9 2018, 9:27 AM
Pginer-WMF moved this task from Needs Triage to CX2 on the ContentTranslation board.
Vvjjkkii renamed this task from While one user is typing captcha, others can create page with the same name to ngdaaaaaaa.Jul 1 2018, 1:11 AM
Vvjjkkii raised the priority of this task from Low to High.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from ngdaaaaaaa to While one user is typing captcha, others can create page with the same name.Jul 2 2018, 1:41 PM
CommunityTechBot lowered the priority of this task from High to Low.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.
Arrbee moved this task from CX2 to Check & Move on the ContentTranslation board.Nov 11 2019, 8:18 AM