tim-goto opened a new issue, #8281:
URL: https://github.com/apache/incubator-devlake/issues/8281

   ### 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
   
   error when clicking on 'edit scope config'
   
   
![Image](https://github.com/user-attachments/assets/e324fad2-231b-42ba-aadd-6548f9291eb2)
   
   lake logs
   ```
   lake time="2025-01-29 14:19:47" level=info 
msg="\x1b[31;1m/app/impls/dalgorm/dalgorm.go:209 \x1b[35;1mError 1064 (42000): 
You have an error in your SQL syntax; check th
   e manual that corresponds to your MySQL server version for the right syntax 
to use near 'varchar) = bps.scope_id) WHERE bps.plugin_name = ? AND 
bps.connection_id = ?' a
   t line 1\n\x1b[0m\x1b[33m[0.531ms] \x1b[34;1m[rows:0]\x1b[0m SELECT bp.id AS 
blueprint_id, bp.project_name, bps.scope_id, _tool_github_repos.* FROM 
_devlake_blueprint_s
   copes bps LEFT JOIN _devlake_blueprints bp ON (bp.id = bps.blueprint_id) 
LEFT JOIN _tool_github_repos ON (_tool_github_repos.connection_id = 
bps.connection_id AND cast(
   _tool_github_repos.github_id as varchar) = bps.scope_id) WHERE 
bps.plugin_name = 'github' AND bps.connection_id = 5"
   lake [GIN] 2025/01/29 - 14:19:47 | 500 |     6.36026ms |    10.232.70.46 | 
GET      "/plugins/github/scope-config/6/projects"
   lake
   lake
   lake 2025/01/29 14:19:47 [Recovery] 2025/01/29 - 14:19:47 panic recovered:
   lake GET /plugins/github/scope-config/6/projects HTTP/1.1
   lake Host: REDACTED
   lake Accept: application/json, text/plain, */*
   lake Accept-Encoding: gzip, deflate, br, zstd
   lake Accept-Language: en-US
   lake Dnt: 1
   lake Priority: u=0
   lake Referer: REDACTED/connections/github/5
   lake Sec-Fetch-Dest: empty
   lake Sec-Fetch-Mode: cors
   lake Sec-Fetch-Site: same-origin
   lake User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) 
Gecko/20100101 Firefox/134.0
   lake X-Forwarded-For: 10.232.70.46
   lake X-Forwarded-Host: REDACTED
   lake X-Forwarded-Port: 443
   lake X-Forwarded-Proto: https
   lake X-Forwarded-Scheme: https
   lake X-Real-Ip: REDACTED
   lake X-Request-Id: fa0480cfe6909e343b5751e1eb8b9cd6
   lake X-Scheme: https
   ```
   
   ### What do you expect to happen
   
   no error, I can edit the scope config
   
   ### How to reproduce
   
   click on 'edit scope config'
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   release-v1.0_250120_1118_6e14cfa
   
   ### 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-unsubscr...@devlake.apache.org.apache.org

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

Reply via email to