Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitlab: Undefined array key "project_id" warning #370

Closed
dregad opened this issue May 11, 2021 · 0 comments
Closed

Gitlab: Undefined array key "project_id" warning #370

dregad opened this issue May 11, 2021 · 0 comments
Milestone

Comments

@dregad
Copy link
Member

dregad commented May 11, 2021

When both a GitHub and a GitLab repo are defined in the same instance, and a GitHub webhook triggers a checkin operation, GitLab's precommit() attempts to process the GitHub payload.

Since that does not have the project_id key, PHP throws
SYSTEM WARNING: 'Undefined array key "project_id"' in '/path.to/mantisbt/plugins/source-integration/SourceGitlab/SourceGitlab.php' line 215

@dregad dregad added this to the 2.5.0 milestone May 11, 2021
@dregad dregad closed this as completed in fe3f72d May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant