You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@devlake.apache.org by "clement-igonet (via GitHub)" <gi...@apache.org> on 2023/12/04 16:22:28 UTC

[I] [Bug][Gitlab connection] TypeError: (n ?? []).map is not a function [incubator-devlake]

clement-igonet opened a new issue, #6557:
URL: https://github.com/apache/incubator-devlake/issues/6557

   ### 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
   
   After creating Gitlab connection, when cliecking on `Add Data Scope`, I get this error message: `TypeError: (n ?? []).map is not a function`
   
   
   ### What do you expect to happen
   
   I expect to be able to select my gitlab group and project as I usually do in v0.18.0
   
   ### How to reproduce
   
   Created an internal gitlab connection and select `Add Data Scope`
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   5581670a17466f0ae198a4c62fd9fb6f0066913d
   
   ### 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: dev-unsubscribe@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab connection] Cannot add Data Scope on gitlab connection [incubator-devlake]

Posted by "Startrekzky (via GitHub)" <gi...@apache.org>.
Startrekzky commented on issue #6557:
URL: https://github.com/apache/incubator-devlake/issues/6557#issuecomment-1841970229

   What GitLab version are you on? DevLake only supports the Cloud and Community Edition 11+.


-- 
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: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab connection] Cannot add Data Scope on gitlab connection [incubator-devlake]

Posted by "mintsweet (via GitHub)" <gi...@apache.org>.
mintsweet commented on issue #6557:
URL: https://github.com/apache/incubator-devlake/issues/6557#issuecomment-1842207601

   @clement-igonet Can you tell me your browser and browser's version?


-- 
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: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab connection] Cannot add Data Scope on gitlab connection [incubator-devlake]

Posted by "clement-igonet (via GitHub)" <gi...@apache.org>.
clement-igonet closed issue #6557: [Bug][Gitlab connection] Cannot add Data Scope on gitlab connection
URL: https://github.com/apache/incubator-devlake/issues/6557


-- 
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: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab connection] Cannot add Data Scope on gitlab connection [incubator-devlake]

Posted by "clement-igonet (via GitHub)" <gi...@apache.org>.
clement-igonet commented on issue #6557:
URL: https://github.com/apache/incubator-devlake/issues/6557#issuecomment-1842270840

   Chrome: Version 119.0.6045.199 / Brave: Version 1.15.122
   gitlab EE: 16.3.4
   DevLake: issue after v0.18.0 (v0.19.0-rc3, main, v0.20.0-beta3)
   
   In fact, first issue appear when clicking on "Save Connection" button
   ```
   index-24e8eea2.js:1161 Uncaught (in promise) TypeError: Cannot destructure property 'plugin' of 'undefined' as it is undefined.
       at c (index-24e8eea2.js:1161:3081)
       at p (index-24e8eea2.js:1161:3770)
       at index-24e8eea2.js:1659:475
       at G$ (index-24e8eea2.js:41:6614)
       at e.unstable_runWithPriority (index-24e8eea2.js:26:3842)
       at ci (index-24e8eea2.js:37:38499)
       at ho (index-24e8eea2.js:41:6084)
       at Wp (index-24e8eea2.js:39:10729)
       at index-24e8eea2.js:37:38721
       at e.unstable_runWithPriority (index-24e8eea2.js:26:3842)
   ```


-- 
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: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab connection] Cannot add Data Scope on gitlab connection [incubator-devlake]

Posted by "clement-igonet (via GitHub)" <gi...@apache.org>.
clement-igonet commented on issue #6557:
URL: https://github.com/apache/incubator-devlake/issues/6557#issuecomment-1842370277

   Here is my last try,:
   
   Chrome: Version 119.0.6045.199 / Brave: Version 1.15.122
   gitlab EE: 16.3.4
   DevLake: `[main] 7e676c8112858ffb68e55679adc36dbe59a4145b`
   
   In fact, the first issue appears when clicking on "Save Connection" button
   ```
   index-24e8eea2.js:1161 Uncaught (in promise) TypeError: Cannot destructure property 'plugin' of 'undefined' as it is undefined.
       at c (index-24e8eea2.js:1161:3081)
       at p (index-24e8eea2.js:1161:3770)
       at index-24e8eea2.js:1659:475
       at G$ (index-24e8eea2.js:41:6614)
       at e.unstable_runWithPriority (index-24e8eea2.js:26:3842)
       at ci (index-24e8eea2.js:37:38499)
       at ho (index-24e8eea2.js:41:6084)
       at Wp (index-24e8eea2.js:39:10729)
       at index-24e8eea2.js:37:38721
       at e.unstable_runWithPriority (index-24e8eea2.js:26:3842)
   ```
   
   <img width="801" alt="image" src="https://github.com/apache/incubator-devlake/assets/7684243/8485e00f-24c1-414e-921c-04782228850d">
   
   <img width="1003" alt="image" src="https://github.com/apache/incubator-devlake/assets/7684243/7fee16cd-bcbe-467b-9963-775c2bc30d54">
   
   


-- 
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: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab connection] Cannot add Data Scope on gitlab connection [incubator-devlake]

Posted by "mintsweet (via GitHub)" <gi...@apache.org>.
mintsweet commented on issue #6557:
URL: https://github.com/apache/incubator-devlake/issues/6557#issuecomment-1841973791

   hi @clement-igonet Are you running locally or docker?


-- 
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: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Gitlab connection] Cannot add Data Scope on gitlab connection [incubator-devlake]

Posted by "clement-igonet (via GitHub)" <gi...@apache.org>.
clement-igonet commented on issue #6557:
URL: https://github.com/apache/incubator-devlake/issues/6557#issuecomment-1842127144

   I use a gitlab ee 16.2.
   However, it should work, I guess, as gitlab ee API is just an extension of gitlab ce. Isn't it ?
   Also, support was ok on DevLake v0.18.0
   I'll check deeply to understand.
   So, the fact it work on CE should mean that it work in EE I though...


-- 
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: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org