Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
advancedqueue
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
project
advancedqueue
Merge requests
!24
fix getDuplicateJobs fails due to $job->getId() returning an empy string
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fix getDuplicateJobs fails due to $job->getId() returning an empy string
issue/advancedqueue-3495163:8.x-1.x
into
8.x-1.x
Overview
0
Commits
2
Pipelines
4
Changes
1
Merged
xlyz
requested to merge
issue/advancedqueue-3495163:8.x-1.x
into
8.x-1.x
4 months ago
Overview
0
Commits
2
Pipelines
4
Changes
1
Expand
fix issue
https://www.drupal.org/project/advancedqueue/issues/3495163
0
0
Merge request reports
Compare
8.x-1.x
version 2
22bffd2e
2 months ago
version 1
22cc6df6
4 months ago
8.x-1.x (base)
and
latest version
latest version
82e3f6c8
2 commits,
2 months ago
version 2
22bffd2e
2 commits,
2 months ago
version 1
22cc6df6
1 commit,
4 months ago
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/Plugin/AdvancedQueue/Backend/Database.php
+
1
−
1
Options
@@ -213,7 +213,7 @@ class Database extends BackendBase implements SupportsDeletingJobsInterface, Sup
->
condition
(
'fingerprint'
,
$fingerprint
)
->
condition
(
'state'
,
[
Job
::
STATE_QUEUED
,
Job
::
STATE_PROCESSING
],
'IN'
);
if
(
$job
->
getId
()
!==
NULL
)
{
if
(
!
empty
(
$job
->
getId
()
)
)
{
$query
->
condition
(
'job_id'
,
$job
->
getId
(),
'<>'
);
}
$result
=
$query
->
execute
();
Loading