jeffschaper opened a new issue, #8305:
URL: https://github.com/apache/incubator-devlake/issues/8305

   ### 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
   
   I'm getting an error message related to the GitHub scope config production 
pattern.
   
   ```txt
   Wraps: (2) Error 1406 (22001): Data too long for column 'production_pattern' 
at row 1
   Error types: (1) *hintdetail.withDetail (2) *mysql.MySQLError
   ```
   
   It appears to be the `production_pattern` field from the 
`_tool_github_scope_configs` table, which is a `varchar(255)` data type.
   
   ### What do you expect to happen
   
   The `production_pattern` field in the `_tool_github_scope_configs` table 
should allow for larger values to be stored.
   
   ### How to reproduce
   
   Try to store a value longer than 255 characters in the `production_pattern` 
field in the `_tool_github_scope_configs` table or in the GitHub scope config 
in the config ui (see screenshot below).
   
   <img width="770" alt="Image" 
src="https://github.com/user-attachments/assets/b85f7214-c35d-44da-9d10-45e64f3bb5ca";
 />
   
   ### Anything else
   
   This only happens when a value is bigger than 255 characters.
   
   ### Version
   
   v1.0.1
   
   ### 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