Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tmgmt-3271901
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
tmgmt-3271901
Commits
bbcd6a8f
Commit
bbcd6a8f
authored
2 years ago
by
ghost of drupal past
Committed by
Sascha Grossenbacher
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3266838
by Charlie ChX Negyesi: In review can't be aborted
parent
ae399dec
No related branches found
Branches containing commit
Tags
8.x-3.0-alpha4
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Entity/JobItem.php
+1
-1
1 addition, 1 deletion
src/Entity/JobItem.php
with
1 addition
and
1 deletion
src/Entity/JobItem.php
+
1
−
1
View file @
bbcd6a8f
...
...
@@ -884,7 +884,7 @@ class JobItem extends ContentEntityBase implements JobItemInterface {
* {@inheritdoc}
*/
public
function
abortTranslation
()
{
if
(
!
$this
->
isA
ctiv
e
()
||
!
$this
->
getTranslatorPlugin
())
{
if
(
!
$this
->
isA
bortabl
e
()
||
!
$this
->
getTranslatorPlugin
())
{
throw
new
TMGMTException
(
'Cannot abort job item.'
);
}
$this
->
setState
(
JobItemInterface
::
STATE_ABORTED
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment