-
Notifications
You must be signed in to change notification settings - Fork 128
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
Does not close issues anymore #395
Comments
To narrow down the problem, did you upgrade mantisbt and/or source plug-in? If so, what were the previous versions?
Unfortunately not. This has been on the todo list for ages (see #92), but I never got around to working on it. |
I added a module to edit in markdown, but when disabling it, the problem remains. |
@picrap you have not answered my question...
Maybe there's a problem with the API key, or with the GitLab webhooks that are triggered when new commits are pushed ? |
I checked API key fixed outbond hooks (security has changed in gitlab), but all I get is a comment in my issue saying |
For the 3rd time...
|
Sorry for not answering. Mantis wasn’t upgraded and source plugin was upgraded after it stopped working. Unfortunately I haven’t kept previous version, so I can not tell. |
@picrap I tested this on my dev box and everything seems to work fine, with the regex and commit message you posted above. Note that we only resolve the issue if an authorized handler has been identified; otherwise, it will remain open. Reference: https://github.com/mantisbt-plugins/source-integration/blob/v2.5.2/Source/Source.API.php#L298 Can you check the following:
Also make sure that you have checked the Resolve Fixed Issues option in the plugin configuration If that does not help, then I guess you'll have to do some step-debugging. Assuming the changeset is created properly in your Mantis following the GitLab webhook's execution, and the issue is linked properly (which I think is what you meant by nothing happens except the referencing part (so integration to gitlab is working), you will want to debug function Source_Process_Changesets() in Source.API.php. |
The names weren’t matching and it was working, now the names match and it is still broken. I’ll look at the source. |
Hi, this is more a rquest for help than an issue.
I use MantisBT 2.24.1 with source-integration and gitlab plugins in latest versions.
The rules that were working stopped working, I reset them and it is still not working.
The rules are:
/(?:fixe?d?s?|implement(s|ed)|resolved?s?)+\s*:?\s+(?:#(?:\d+)[,\.\s]*)+/i
/#?(\d+)/
On a commit with message such as
Implemented double password input at account creation (implements #2016)
, nothing happens except the referencing part (so integration to gitlab is working) but the issue is not closed anymore.How to diagnose the problem? Is there a log somewhere?
The text was updated successfully, but these errors were encountered: