You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "aubertaa (via GitHub)" <gi...@apache.org> on 2023/04/14 10:09:14 UTC
[GitHub] [incubator-devlake] aubertaa opened a new issue, #4934: [Bug][Gitlab scope selection] Bug title
aubertaa opened a new issue, #4934:
URL: https://github.com/apache/incubator-devlake/issues/4934
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues.
### What happened
- create a new blueprint
- checking a specific gitlab project when defining gitlab scope, i get this error

using devlake 0.16.0-beta11
### What do you expect to happen
project should be selected successfully
### How to reproduce
i'm sorry, i have not identified what's wrong with this gitlab project in particular, it's a 'like others' project (even though i know that something should indeed differ)
### Anything else
_No response_
### Version
main
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] mintsweet commented on issue #4934: [Bug][Gitlab scope selection] TypeError: e is null
Posted by "mintsweet (via GitHub)" <gi...@apache.org>.
mintsweet commented on issue #4934:
URL: https://github.com/apache/incubator-devlake/issues/4934#issuecomment-1515795808
hi @aubertaa, unfortunately, I mocked the data you provided, but I still haven't reproduced this issue, I will continue to try to reproduce it, please be patient.

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] mintsweet commented on issue #4934: [Bug][Gitlab scope selection] TypeError: e is null
Posted by "mintsweet (via GitHub)" <gi...@apache.org>.
mintsweet commented on issue #4934:
URL: https://github.com/apache/incubator-devlake/issues/4934#issuecomment-1510743555
Hi, @aubertaa Thank you so much for reporting issues for devlake.
I try to reproduce your issue, but I have some difficulties, can you provide me with more information?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] amosli commented on issue #4934: [Bug][Gitlab scope selection] TypeError: e is null
Posted by "amosli (via GitHub)" <gi...@apache.org>.
amosli commented on issue #4934:
URL: https://github.com/apache/incubator-devlake/issues/4934#issuecomment-1514433692
I Have similar problem,using devlake 0.16.0-beta15 , add gitlab projects,my email is 1215186706@qq.com, I can help to reproduce the bug.
```
TypeError: Cannot read properties of null (**reading 'gitlabId'**)
Please try again, if the problem persists include the above error message when filing a bug report on GitHub. You can also message us on Slack to engage with community members for solutions to common issues.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] Startrekzky commented on issue #4934: [Bug][Gitlab scope selection] TypeError: e is null
Posted by "Startrekzky (via GitHub)" <gi...@apache.org>.
Startrekzky commented on issue #4934:
URL: https://github.com/apache/incubator-devlake/issues/4934#issuecomment-1552362596
This issue is caused by the same reason as #4992 , which has already been cherrypicked to release-v0.17. Please use the latest v0.17 beta to test it out.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] aubertaa commented on issue #4934: [Bug][Gitlab scope selection] TypeError: e is null
Posted by "aubertaa (via GitHub)" <gi...@apache.org>.
aubertaa commented on issue #4934:
URL: https://github.com/apache/incubator-devlake/issues/4934#issuecomment-1511449160
hi @mintsweet , i suspect that error occurs when selecting a gitlab project which has no description set. I tried also on last 0.16-beta14 and the problem persists.
Regards,
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] aubertaa commented on issue #4934: [Bug][Gitlab scope selection] TypeError: e is null
Posted by "aubertaa (via GitHub)" <gi...@apache.org>.
aubertaa commented on issue #4934:
URL: https://github.com/apache/incubator-devlake/issues/4934#issuecomment-1514206132
hi @mintsweet ,
here is the recording, selection this specific project 'service-masterproxy-shaper' always shows the error. (selecting the parent also, as shown on the recording).

Here is part of the payload gotten when browsing projects through devlake ui (first project is selectable without issue, second is not):
from `api/plugins/gitlab/connections/1/remote-scopes`
```
{
"children": [{
"type": "scope",
"parentId": "3589",
"id": "2345",
"name": "service-request-manager",
"data": {
"connectionId": 0,
"gitlabId": 2345,
"name": "service-request-manager",
"description": "Service gérant le statut des requêtes apiv3",
"defaultBranch": "develop",
"pathWithNamespace": "AnalyticsAPI/microservices/api/service-request-manager",
"webUrl": "XXXXX",
"creatorId": 0,
"visibility": "internal",
"openIssuesCount": 0,
"starCount": 0,
"forkedFromProjectId": 0,
"forkedFromProjectWebUrl": "",
"httpUrlToRepo": "XXXXX",
"createdDate": "2019-06-12T15:41:16.532Z",
"updatedDate": "2023-04-18T07:53:17.091Z"
}
},
{
"type": "scope",
"parentId": "3589",
"id": "450",
"name": "service-masterproxy-shaper",
"data": {
"connectionId": 0,
"gitlabId": 450,
"name": "service-masterproxy-shaper",
"description": "",
"defaultBranch": "develop",
"pathWithNamespace": "AnalyticsAPI/microservices/api/service-masterproxy-shaper",
"webUrl": "XXXXX",
"creatorId": 0,
"visibility": "internal",
"openIssuesCount": 0,
"starCount": 0,
"forkedFromProjectId": 0,
"forkedFromProjectWebUrl": "",
"httpUrlToRepo": "XXXXX",
"createdDate": "2016-12-09T10:03:48.527Z",
"updatedDate": "2023-04-18T07:53:04.473Z"
}
},
],
"nextPageToken": ""
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] amosli commented on issue #4934: [Bug][Gitlab scope selection] TypeError: e is null
Posted by "amosli (via GitHub)" <gi...@apache.org>.
amosli commented on issue #4934:
URL: https://github.com/apache/incubator-devlake/issues/4934#issuecomment-1520093035
I'm upgrade the devlake to v0.16.0-beta17@ ,using gitlab version is 15.9.3 community,while add project in "Change Data Scope",still has the problem .
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] mintsweet commented on issue #4934: [Bug][Gitlab scope selection] TypeError: e is null
Posted by "mintsweet (via GitHub)" <gi...@apache.org>.
mintsweet commented on issue #4934:
URL: https://github.com/apache/incubator-devlake/issues/4934#issuecomment-1514291869
hi @aubertaa, thank you very much for providing these, I will use the data you provided to try to reproduce later, thanks again.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] mintsweet commented on issue #4934: [Bug][Gitlab scope selection] TypeError: e is null
Posted by "mintsweet (via GitHub)" <gi...@apache.org>.
mintsweet commented on issue #4934:
URL: https://github.com/apache/incubator-devlake/issues/4934#issuecomment-1515796408
hi, @amosli, Can you please provide steps to reproduce?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] mintsweet commented on issue #4934: [Bug][Gitlab scope selection] TypeError: e is null
Posted by "mintsweet (via GitHub)" <gi...@apache.org>.
mintsweet commented on issue #4934:
URL: https://github.com/apache/incubator-devlake/issues/4934#issuecomment-1513951314
hi @aubertaa , I tried to choose a project without a description, but I didn't reproduce this issue. Can you help me record a gif to see what's going on on your devlake?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] Startrekzky closed issue #4934: [Bug][Gitlab scope selection] TypeError: e is null
Posted by "Startrekzky (via GitHub)" <gi...@apache.org>.
Startrekzky closed issue #4934: [Bug][Gitlab scope selection] TypeError: e is null
URL: https://github.com/apache/incubator-devlake/issues/4934
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] amosli commented on issue #4934: [Bug][Gitlab scope selection] TypeError: e is null
Posted by "amosli (via GitHub)" <gi...@apache.org>.
amosli commented on issue #4934:
URL: https://github.com/apache/incubator-devlake/issues/4934#issuecomment-1520087767
> hi, @amosli, Can you please provide steps to reproduce?
yes,you can add my qq 1215186706。
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org