├── .gitignore
├── LICENSE
├── README.md
├── README_EN.md
├── java
├── EXAMPLE.md
├── HOME.md
├── apache
│ └── commons-lang3.md
└── spring
│ └── spring-data-mongodb.md
└── javaScript
├── EXAMPLE.md
└── HOME.md
/.gitignore:
--------------------------------------------------------------------------------
1 | # Compiled class file
2 | *.class
3 |
4 | # Log file
5 | *.log
6 |
7 | # BlueJ files
8 | *.ctxt
9 |
10 | # Mobile Tools for Java (J2ME)
11 | .mtj.tmp/
12 |
13 | # Package Files #
14 | *.jar
15 | *.war
16 | *.ear
17 | *.zip
18 | *.tar.gz
19 | *.rar
20 |
21 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
22 | hs_err_pid*
23 |
24 |
25 | # idea ignore
26 | .idea/
27 | *.ipr
28 | *.iml
29 | *.iws
30 | # temp ignore
31 | *.log
32 | *.cache
33 | *.diff
34 | *.patch
35 | *.tmp
36 |
37 | #maven package dir
38 | target/
39 | build/
40 |
41 | # eclipse ignore
42 | .settings/
43 | .project
44 | .classpath
45 |
46 | # system ignore
47 | .DS_Store
48 | Thumbs.db
49 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 Choice
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # openBugList
2 | * [English version](./README_EN.md)
3 |
4 |
5 | OpenBugList 是一个收集开源社区软件 bug 的项目,您可以很容易的在 OpenBugList 中找到相应bug(但愿如此),和它对应的版本、问题现象、解决方案。如果您在 OpenBugList 中没有找到您遇到的bug,我希望您在解决完您遇到的 bug 以后,将 bug 的信息按照 OpenBugList 中规定的格式提交到 OpenBugLis 分享给大家(如果它是开源软件的bug)。
6 |
7 |
8 | ### Why `为什么要做这件事`
9 | 希望大家在遇到开源软件问题的时候,可以直接在 OpenBugList 中找到解决方法,以节省你的时间(当然你可以直接去对应仓库提交issues或pushRequest,但是很多仓库关闭了issues入口,而且它们有自己git工作流,这需要浪费你很长的时间)。
10 |
11 |
12 | ### How `如何贡献bug信息和查找bug`
13 | * 如何贡献bug信息
14 | * 采用[Github Flow](https://guides.github.com/introduction/flow/)模式,目前使用主分支,没有必要创建新的分支。fork之后,添加更改,然后提交pushRequest,您可以单击下面的选项来查看相应的语言贡献格式。
15 | * [java 示例](./java/EXAMPLE.md)
16 | * [javaScript 示例](./javaScript/EXAMPLE.md)
17 | * 如何查找bug
18 | * 直接在本仓库页面GitHub搜索框中搜索bug对应开源软件的关键字,如 spring 或 spring-data-mongodb
19 | * 从下面的[选项](#what)中选择语言类别,例如Java或javaScript,然后选择与bug对应的开源包名称
20 |
21 |
22 | ### What `bug列表入口`
23 | * [java](./java/HOME.md)
24 | * [javaScript](./javaScript/HOME.md)
25 |
26 |
27 |
28 | ### PS
29 | * 除当前页面以外的文档没有中文版本。
30 | * 如果你感觉本项目对你有所帮助,请帮忙点击一下star。
31 |
--------------------------------------------------------------------------------
/README_EN.md:
--------------------------------------------------------------------------------
1 | # openBugList
2 | * [中文版](./README.md)
3 |
4 | OpenBugList is a project that collects software bugs in the open source community.
5 | You can easily find bugs in OpenBugList (I hope so), and their corresponding versions,
6 | problem phenomena, and solutions. If you don't find the bug you encounter in OpenBugList,
7 | I hope that after you solve the bug you encounter,
8 | you will submit the information of the bug to OpenBugLis in the format specified in OpenBugList for sharing (if it is a bug in open source software).
9 |
10 | ### Why
11 | I hope you can find a solution in OpenBugList to save your time when you encounter open source software problems.
12 | (of course, you can directly go to the warehouse to submit issues or pushRequest, but many warehouses close the issues entry,
13 | and they have their own git workflow, which takes a long time.)
14 |
15 | ### How
16 | * how to contribute bug information
17 | * adopted [Github Flow](https://guides.github.com/introduction/flow/) mode.
18 | For now, all master branches are used. There is no need to create new branches.
19 | After fork, add your changes, and then submit pushRequest,You can click on the options below to see the corresponding language contribution format.
20 | * [java Example](./java/EXAMPLE.md)
21 | * [javaScript Example](./javaScript/EXAMPLE.md)
22 | * How to find bugs
23 | * directly search the GitHub search box for bugs corresponding to open source software keywords, such as `spring` or `spring-data-mongodb`
24 | * Select the language category from the [entry below](#what)️, such as Java or javaScript, and then select the open source package name corresponding to bug
25 |
26 |
27 | ### What
28 | * [java](./java/HOME.md)
29 | * [javaScript](./javaScript/HOME.md)
30 |
31 |
32 |
33 | ### PS
34 | * Documents other than the current page do not have Chinese versions.
35 | * If you find this project helpful, please click on star.
--------------------------------------------------------------------------------
/java/EXAMPLE.md:
--------------------------------------------------------------------------------
1 | # example - java
2 |
3 | ### Tag
4 | ```xml
5 |
6 | org.springframework.boot
7 | spring-boot-starter-data-mongodb
8 |
9 | ```
10 |
11 | ### 1.5.12.RELEASE
12 | ##### Problem 1
13 | When I used mongotemplate.find() to query data, it was very slow
14 | ```java
15 | Query query = new Query();
16 | query.addCriteria(
17 | Criteria.where("serviceId").is("19")
18 | );
19 | List dbObjects = mongoTemplate.find(query, DBObject.class,collectionName);
20 | ```
21 | * Solving Methods
22 | * Solution 1
23 | ``` xml
24 |
25 |
26 | org.springframework.boot
27 | spring-boot-starter-data-mongodb
28 | 1.5.13.RELEASE
29 |
30 | ```
31 | * Solution 2
32 | ``` xml
33 |
34 |
35 | org.springframework.data
36 | spring-data-mongodb
37 | 1.10.12.RELEASE
38 |
39 | ```
40 | * Solution 3
41 | ``` java
42 | //You can also do this if you don't want to update the pom.xml
43 | BasicDBObject query = new BasicDBObject();
44 | query.put("serviceId", "19");
45 | DBCollection collection = mongoTemplate.getCollection(collectionName);
46 | DBCursor dbObjects = collection.find(query);
47 | ```
48 | * GitHub Issues(If you have)
49 | * [test issues address](./EXAMPLE.md)
--------------------------------------------------------------------------------
/java/HOME.md:
--------------------------------------------------------------------------------
1 | # Java Home Page
2 |
3 | * apache
4 | * org.apache.commons
5 | * [commons-lang3](./apache/commons-lang3.md)
6 |
7 | * spring
8 | * org.springframework.boot
9 | * [spring-boot-starter-data-mongodb](./spring/spring-data-mongodb.md)
10 | * org.springframework.data
11 | * [spring-data-mongodb](./spring/spring-data-mongodb.md)
12 |
--------------------------------------------------------------------------------
/java/apache/commons-lang3.md:
--------------------------------------------------------------------------------
1 | # commons-lang3
2 |
3 | ### Tag
4 | ```xml
5 |
6 | org.apache.commons
7 | commons-lang3
8 |
9 | ```
10 |
11 | ### Version - 3.8
12 | ##### Problem 1
13 | Chinese parsing problem, Chinese returns unicode when I use the following method
14 | ```java
15 | public static class TestJsonStyle{
16 | private String a;
17 | public void setA(String a){
18 | this.a = a;
19 | }
20 | @Override
21 | public String toString() {
22 | return ReflectionToStringBuilder.toString(this, ToStringStyle.JSON_STYLE);
23 | }
24 | }
25 |
26 | public static void main(String[] args) {
27 | TestJsonStyle jsonStyle = new TestJsonStyle();
28 | jsonStyle.setA("测试");
29 | System.out.println(jsonStyle.toString());
30 | //{"a":"\u6D4B\u8BD5"}
31 | }
32 | ```
33 | * Solving Methods
34 | * Solution 1
35 | ``` xml
36 |
37 |
38 | org.apache.commons
39 | commons-lang3
40 | 3.7
41 |
42 | ```
43 | * GitHub Issues(If you have)
44 | * [test issues address](./commons-lang3.md)
45 |
--------------------------------------------------------------------------------
/java/spring/spring-data-mongodb.md:
--------------------------------------------------------------------------------
1 | # spring-data-mongodb
2 |
3 | ### Tag
4 | ```xml
5 |
6 | org.springframework.boot
7 | spring-boot-starter-data-mongodb
8 |
9 | ```
10 |
11 | ### Version - 1.5.12.RELEASE
12 | ##### Problem 1
13 | When I used mongotemplate.find() to query data, it was very slow
14 | ```java
15 | Query query = new Query();
16 | query.addCriteria(
17 | Criteria.where("serviceId").is("19")
18 | );
19 | List dbObjects = mongoTemplate.find(query, DBObject.class,collectionName);
20 | ```
21 | * Solving Methods
22 | * Solution 1
23 | ``` xml
24 |
25 |
26 | org.springframework.boot
27 | spring-boot-starter-data-mongodb
28 | 1.5.13.RELEASE
29 |
30 | ```
31 | * Solution 2
32 | ``` xml
33 |
34 |
35 | org.springframework.data
36 | spring-data-mongodb
37 | 1.10.12.RELEASE
38 |
39 | ```
40 | * Solution 3
41 | ``` java
42 | //You can also do this if you don't want to update the pom.xml
43 | BasicDBObject query = new BasicDBObject();
44 | query.put("serviceId", "19");
45 | DBCollection collection = mongoTemplate.getCollection(collectionName);
46 | DBCursor dbObjects = collection.find(query);
47 | ```
48 | * GitHub Issues(If you have)
49 | * [test issues address](./spring-data-mongodb.md)
50 |
51 |
52 | ### Version - 1.xx.xx.x
53 | ##### Problem 1
54 | xxxx
55 | ```java
56 | ```
57 | * Solving Methods
58 | * Solution 1
59 | ``` xml
60 | ```
61 | ##### Problem 2
--------------------------------------------------------------------------------
/javaScript/EXAMPLE.md:
--------------------------------------------------------------------------------
1 | # example - javaScript
--------------------------------------------------------------------------------
/javaScript/HOME.md:
--------------------------------------------------------------------------------
1 | # JavaScript Home Page
--------------------------------------------------------------------------------