|
| 1 | +name: Bug Report |
| 2 | +description: Help us reproduce the problem! |
| 3 | +labels: ["bug"] |
| 4 | + |
| 5 | +body: |
| 6 | + |
| 7 | + - type: checkboxes |
| 8 | + id: about-the-bug |
| 9 | + attributes: |
| 10 | + label: About the Bug... |
| 11 | + description: Plesae check a few things before start writing the report. |
| 12 | + options: |
| 13 | + - label: > |
| 14 | + I have checked that this issue has not already been reported. |
| 15 | + required: true |
| 16 | + - label: > |
| 17 | + I have confirmed this bug exists on the |
| 18 | + [latest version](https://github.com/mybatis/mybatis-3/releases/latest) of MyBatis. |
| 19 | + required: true |
| 20 | + - label: > |
| 21 | + I have confirmed this bug reproduces without 3rd party extensions (e.g. mybatis-plus). |
| 22 | + required: true |
| 23 | +
|
| 24 | + - type: input |
| 25 | + id: db-version |
| 26 | + attributes: |
| 27 | + label: Database Version |
| 28 | + description: Which DB did you use to verify the bug? |
| 29 | + placeholder: ex. MySQL 8.0.43, PostgreSQL 17.5 |
| 30 | + validations: |
| 31 | + required: true |
| 32 | + |
| 33 | + - type: input |
| 34 | + id: driver-version |
| 35 | + attributes: |
| 36 | + label: JDBC Driver Version |
| 37 | + description: We will try to use the same driver. |
| 38 | + placeholder: ex. MySQL Connector/J 9.3.0, PgJDBC 42.7.6 |
| 39 | + validations: |
| 40 | + required: true |
| 41 | + |
| 42 | + - type: textarea |
| 43 | + id: issue-desc |
| 44 | + attributes: |
| 45 | + label: Issue Description |
| 46 | + description: | |
| 47 | + To fix the problem, we need to reproduce it first. ☝️ |
| 48 | +
|
| 49 | + - Provide as much detail as possible (config, DB data (DML, DDL), Java classes, Java/XML mappers, etc.). |
| 50 | + - Sharing a small executable demo project on your GitHub repository speeds up the process significantly 🏎️💨. There are project templates and examples in this [repository](https://github.com/harawata/mybatis-issues). |
| 51 | + - If there is an exception, include the entire stack trace (the lower parts are important). |
| 52 | + value: | |
| 53 | + FYI, you can use GitHub Flavored Markdown here. |
| 54 | +
|
| 55 | + ```sql |
| 56 | + CREATE TABLE users (id, name); |
| 57 | + INSERT INTO users (1, 'John'); |
| 58 | + ``` |
| 59 | +
|
| 60 | + ```java |
| 61 | + @Select("select * from users") |
| 62 | + List<User> getAllUsers(); |
| 63 | + ``` |
| 64 | + validations: |
| 65 | + required: true |
| 66 | + |
| 67 | + - type: checkboxes |
| 68 | + id: about-your-report |
| 69 | + attributes: |
| 70 | + label: About your report... |
| 71 | + description: Please check a few things before submitting the report. |
| 72 | + options: |
| 73 | + - label: > |
| 74 | + I did not use images 🖼️ for showing text information (code, error, etc.). |
| 75 | + required: true |
| 76 | + - label: > |
| 77 | + I checked the Preview and my report looks awesome! 👍 |
| 78 | + required: true |
0 commit comments