Automattic / Automattic/babble

Translation job for a translation job

Open
#173 1 comment 0 reactions 0 assignees View on GitHub
task
Dominant language
PHP
Stars
250
Forks
44
PR merge metrics
No merged PRs in 30d

Description

Currently I'm seeing a crash when going to translation jobs because somehow a colleague of mine managed had setup a tranlsation job for a translation job. When this happens the code in Babble_Jobs::user_has_cap() will create a infinite loop.

I will create a pull request to stop it but creating this ticket as a placeholder to find out why this ever happened. Will talk today with him to see how we can reproduce it.

Contributor guide

Open the contributing guide

Research direction

Start at Babble_Jobs::user_has_cap() and reproduce the crash with a translation job configured for another translation job. Trace how the nested job was created and identify the path that causes the infinite loop. Done means the reproduction is understood and the translation-jobs page no longer crashes or loops.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.