Skip to content
This repository

User-contributed projects reproducing issues logged against SPR JIRA

branch: master

Merge pull request #72 from kazuki43zoo/master

* pull72:
  Migrate to simple Jar project
  added simple project for SPR-11669.
latest commit 9a6d4549be
Stéphane Nicoll snicoll authored
Octocat-spinner-32 SPR-0000-war-java Change source encoding from UTF8 to UTF-8 in Maven
Octocat-spinner-32 SPR-0000-war-xml Change source encoding from UTF8 to UTF-8 in Maven
Octocat-spinner-32 SPR-0000 Change source encoding from UTF8 to UTF-8 in Maven
Octocat-spinner-32 SPR-10019 Update repro project for SPR-10019
Octocat-spinner-32 SPR-10022 Test case RestController with incorrect and correct content type and
Octocat-spinner-32 SPR-10083 Prove that reproducing SPR-10083 is order-dependent
Octocat-spinner-32 SPR-10095 Add project for SPR-10095
Octocat-spinner-32 SPR-10125 SPR-10125
Octocat-spinner-32 SPR-10243 Replicate SPR-10243
Octocat-spinner-32 SPR-10297 Fix inherent cyclic dependency
Octocat-spinner-32 SPR-10307 SPR-10309
Octocat-spinner-32 SPR-10309 SPR-10309
Octocat-spinner-32 SPR-10327 Attempt (unsuccesfully) to reproduce SPR-10327
Octocat-spinner-32 SPR-10334 Add test project for SPR-10334
Octocat-spinner-32 SPR-10344 Rename resources for clarity; demonstrate override
Octocat-spinner-32 SPR-10374 Update for SPR-10374
Octocat-spinner-32 SPR-10440 Demonstrate fix for SPR-10440
Octocat-spinner-32 SPR-10441 Add repro project for SPR-11494
Octocat-spinner-32 SPR-10485 Add repro project for SPR-10485
Octocat-spinner-32 SPR-10549 SPR-10549
Octocat-spinner-32 SPR-10619 SPR-10619
Octocat-spinner-32 SPR-10658 Add repro project for SPR-10658
Octocat-spinner-32 SPR-10697 SPR-10697
Octocat-spinner-32 SPR-10704 SPR-10704 - mockMvx xpath does not work as expected
Octocat-spinner-32 SPR-10710 SPR-10710
Octocat-spinner-32 SPR-10743 This reproduce error when an class is annotated with @Secured and thi…
Octocat-spinner-32 SPR-10765 SPR-10765
Octocat-spinner-32 SPR-10918 Added tests for SPR-10918.
Octocat-spinner-32 SPR-10995 Add repro project for SPR-10995
Octocat-spinner-32 SPR-11016 Adding JUnit tests to demonstrate incorrect ExceptionHandler being us…
Octocat-spinner-32 SPR-11022 Upgrade SPR-11022 to 3.1.5
Octocat-spinner-32 SPR-11101 Add issue for SPR-11101
Octocat-spinner-32 SPR-11107 Repro project for SPR-11107
Octocat-spinner-32 SPR-11238 Add project for SPR-11238
Octocat-spinner-32 SPR-11281 Add controller interface with annotations
Octocat-spinner-32 SPR-11304 Add project for SPR-11304
Octocat-spinner-32 SPR-11322 Add project for SPR-11322
Octocat-spinner-32 SPR-11406 Using HSQL integrated db
Octocat-spinner-32 SPR-11441 Add test-case for SPR-11441
Octocat-spinner-32 SPR-11445 Add repro project for SPR-11445
Octocat-spinner-32 SPR-11474 Modify SPR-11474 project to actually reproduce issue
Octocat-spinner-32 SPR-11489 Add repro project for SPR-11489
Octocat-spinner-32 SPR-11491 Add project for SPR-11547
Octocat-spinner-32 SPR-11494 Complete test for SPR-11494
Octocat-spinner-32 SPR-11504 Add project for SPR-11504
Octocat-spinner-32 SPR-11526 Fix spring version in SPR-11526
Octocat-spinner-32 SPR-11532 Suggested approach for SPR-11532
Octocat-spinner-32 SPR-11547 Add project for SPR-11547
Octocat-spinner-32 SPR-11669 Migrate to simple Jar project
Octocat-spinner-32 SPR-5628 Add SPR-5628 web project
Octocat-spinner-32 SPR-6428 Add repro case (and workaround) for SPR-6428
Octocat-spinner-32 SPR-6508 Test for SPR-6508
Octocat-spinner-32 SPR-6564 SPR-6564
Octocat-spinner-32 SPR-6992 Add repro case for SPR-6992
Octocat-spinner-32 SPR-7345 Add SPR-7345 and SPR-9244
Octocat-spinner-32 SPR-7664 Add repro projects for SPR-7664, SPR-8122, SPR-9183
Octocat-spinner-32 SPR-7900 Add repro case for SPR-7900
Octocat-spinner-32 SPR-7915 Add repro project for SPR-7915 as attached to JIRA
Octocat-spinner-32 SPR-7943 Initial checkin, matching the original code attached to the JIRA tick…
Octocat-spinner-32 SPR-7963 Add project for SPR-7963
Octocat-spinner-32 SPR-7985 Add project for SRP-7985
Octocat-spinner-32 SPR-8122 Add repro projects for SPR-7664, SPR-8122, SPR-9183
Octocat-spinner-32 SPR-8473 Add test project for SPR-8473
Octocat-spinner-32 SPR-8482 Polish command line property source demo
Octocat-spinner-32 SPR-8491 Upgrade SPR-8491 to 3.2.0.BUILD-SNAPSHOT
Octocat-spinner-32 SPR-8492 Fix unicode issue with SPR-8492
Octocat-spinner-32 SPR-8499 Update pom for SPR-8499 based on user feedback
Octocat-spinner-32 SPR-8502 Add main method proving that JUnit is the root cause
Octocat-spinner-32 SPR-8515 SPR-8515
Octocat-spinner-32 SPR-8522 Update to 3.1.0.BUILD-SNAPSHOT to demonstrate fix
Octocat-spinner-32 SPR-8523 Document compile-time weaving workaround for SPR-8523
Octocat-spinner-32 SPR-8536 Commit code attached to SPR-8536
Octocat-spinner-32 SPR-8543 SPR-8543
Octocat-spinner-32 SPR-8582 Demonstrate @Qualifier usage for SPR-8582
Octocat-spinner-32 SPR-8625 Add repro project for SPR-8625 as attached to JIRA
Octocat-spinner-32 SPR-8639 Reproduce SPR-8639 failure in anticipation of fix
Octocat-spinner-32 SPR-8651 Work around SPR-8651 with proxyTargetClass=true
Octocat-spinner-32 SPR-8658 SPR-8658
Octocat-spinner-32 SPR-8661 ADD PROJECT FOR SPR-8661
Octocat-spinner-32 SPR-8663 Prove inability to reproduce SPR-8663
Octocat-spinner-32 SPR-8683 Added test cases for SPR-8683
Octocat-spinner-32 SPR-8711 Add missing @ResponseBody to controller method
Octocat-spinner-32 SPR-8714 Add test cases to SPR-8714
Octocat-spinner-32 SPR-8725 SPR-8658
Octocat-spinner-32 SPR-8726 Fix user issue by adding AuditService as @Component
Octocat-spinner-32 SPR-8736 Add project for SPR-8736
Octocat-spinner-32 SPR-8743 Add demo test case for SPR-8743
Octocat-spinner-32 SPR-8761 Prove SPR-8761 is fixed against 3.1.0 snapshot
Octocat-spinner-32 SPR-8769 SPR-8769
Octocat-spinner-32 SPR-8806 Isolate SPR-8806
Octocat-spinner-32 SPR-8813 Introduce unwrapAopProxyIfNecessary util method
Octocat-spinner-32 SPR-8824 Update SPR-8824 to pick up fix in BUILD-SNAPSHOT
Octocat-spinner-32 SPR-8825 Update SPR-9925 to latest 3.2 snapshot
Octocat-spinner-32 SPR-8853 remove bin
Octocat-spinner-32 SPR-8867 added maven-jetty-plugin
Octocat-spinner-32 SPR-8905 Demonstrate failure to repro SPR-8905 under 3.1.0.x
Octocat-spinner-32 SPR-8923 Add project for SPR-8923
Octocat-spinner-32 SPR-8937 Add missing source directories
Octocat-spinner-32 SPR-8947 Add issue project for SPR-8947
Octocat-spinner-32 SPR-8955 Update SPR-8955 (now fixed)
Octocat-spinner-32 SPR-8991 Reproduce SPR-8991
Octocat-spinner-32 SPR-9031 Add missing source directories
Octocat-spinner-32 SPR-9035 Prove that SPR-9035 works as advertised
Octocat-spinner-32 SPR-9119 Add repro case for SPR-9119
Octocat-spinner-32 SPR-9157 Error in GenericConversionService.ConverterAdapter
Octocat-spinner-32 SPR-9176 Prove SPR-9176 is fixed against 3.2.0.BUILD-SNAPSHOT
Octocat-spinner-32 SPR-9181 Add repro project for SPR-9181
Octocat-spinner-32 SPR-9183 Add repro projects for SPR-7664, SPR-8122, SPR-9183
Octocat-spinner-32 SPR-9204 Add project for SPR-9204
Octocat-spinner-32 SPR-9209 Update SPR-9209 with new sources
Octocat-spinner-32 SPR-9239 Issue project SPR-9239
Octocat-spinner-32 SPR-9243 Reproduce SPR-9243
Octocat-spinner-32 SPR-9244 Updates for SPR-9244
Octocat-spinner-32 SPR-9290 Update SPR-9290 project
Octocat-spinner-32 SPR-9329 Add SPR-9329
Octocat-spinner-32 SPR-9374 Add SPR-9374
Octocat-spinner-32 SPR-9464 Add repro project for SPR-9464
Octocat-spinner-32 SPR-9566 SPR-9566
Octocat-spinner-32 SPR-9575 Print diagnostic statement about proxying for SPR-9575
Octocat-spinner-32 SPR-9584 Make SPR-9584/repro.sh executable
Octocat-spinner-32 SPR-9601 Add project for SPR-9638
Octocat-spinner-32 SPR-9610 Sample project for SPR-9610
Octocat-spinner-32 SPR-9637 Test for SPR-9637
Octocat-spinner-32 SPR-9638 Add project for SPR-9638
Octocat-spinner-32 SPR-9646 Add project for SPR-9646
Octocat-spinner-32 SPR-9657 Add issue for SPR-9657
Octocat-spinner-32 SPR-9667 Fix project name
Octocat-spinner-32 SPR-9670 Adding repro test for SPR-9670 (need to toggle spring version in pom …
Octocat-spinner-32 SPR-9702 Updates with test for BeanUtils.getPropertyDescriptors(BigDecimal.class)
Octocat-spinner-32 SPR-9723 Rename to SPR-9723
Octocat-spinner-32 SPR-9756 Simplify SPR-9756
Octocat-spinner-32 SPR-9795 Modify SPR-9795 into subpackages
Octocat-spinner-32 SPR-9818 Project for issue SPR-9818
Octocat-spinner-32 SPR-9832 Update SPR-9832
Octocat-spinner-32 SPR-9838 Update SPR-9838
Octocat-spinner-32 SPR-9849 Add project for SPR-9849
Octocat-spinner-32 SPR-9851 Add project for SPR-9851
Octocat-spinner-32 SPR-9895 Project for SPR-9895
Octocat-spinner-32 SPR-9931 Add suggested work-around for SPR-9931
Octocat-spinner-32 SPR-9940 Add project for SPR-9940
Octocat-spinner-32 SPR-9943 Upgrade SPR-9943 to 3.1.4.BUILD-SNAPSHOT
Octocat-spinner-32 SPR-9964 Add project for SPR-9964
Octocat-spinner-32 SPR-9989 SPR-9989
Octocat-spinner-32 .gitignore Ignore IDEA-related files
Octocat-spinner-32 README.md Update and/or remove gradle settings
Octocat-spinner-32 create-repro-project.sh ADD PROJECT FOR SPR-8661
README.md

Welcome!

This repository is designed to allow Spring users and team members to contribute self-contained projects reproducing issues logged against Spring's JIRA issue tracker at https://jira.springsource.org. It offers the following advantages over attaching .zip or even patch files to JIRA issues:

  • A streamlined process for evaluating issues so more bugs get fixed more quickly!
  • A set of template projects to choose from
  • Two-way communication with the Spring team based on working code
  • Improved code sharing across the Spring team
  • A back-reference and a valuable archive of small Spring projects across a wide range of use cases and features

All around a better way of interacting with the Spring team.

Logging an issue against Spring's JIRA issue tracker

  1. First, search SPR JIRA to see if your issue has already been reported. If so, there may already be a reproduction issue in this repository!
  2. If after searching an issue does not already exist, create a new issue
    • You will now have an issue named, for example, "SPR-9876". Make note of this, as you'll need it below when creating your project.

Using this repository to demonstrate the issue

Assuming you've encountered and created an issue in the core Spring Framework project you can now add a project to demonstrate it.

First-time setup

  1. Create a Github account if you don't already have one
  2. Fork this repository and clone it locally

Create a project that reproduces your issue

The idea is to create the smallest possible project to demonstrate the issue. The project may be built with Maven and must contain only sources, XML and other necessary text files. No JARs, please!

For the purpose of these instructions, we'll assume your new JIRA issue ID is "SPR-9876"

Steps

1. In your local clone of this repository, create a copy of the appropriate 'template' directory. Their names start with SPR-0000.

For Core Spring Framework issues:

cd spring-framework-issues
./create-repro-project.sh SPR-0000/ SPR-9876

For Spring MVC issues using XML configuration:

cd spring-framework-issues
./create-repro-project.sh SPR-0000-war-xml/ SPR-9876

For Spring MVC issues using Java config:

cd spring-framework-issues
./create-repro-project.sh SPR-0000-war-java/ SPR-9876

2. Review the list of dependencies and version numbers and modify the pom.xml as necessary.

3. Import the project into your IDE and modify it as necessary to reproduce your issue.

  • It is already a buildable Maven project, so you may use your IDE's built-in support for Maven to do the importing.

4. Add, commit, and push your local fork

git add SPR-9876
git commit -m "Add repro project for SPR-9876"
git push

5. Send a pull request from the Github web interface

  • The Spring Framework team will be notified and will look at your request

... and that's it!

FAQ

What if my issue is not a bug, but an improvement or new feature request?

In certain cases, it may make sense to submit a project for improvement requests. Feel free to submit a project here for your issue if you think it will help us to understand the scenario better.

What about patches against the Spring Framework itself? Should I still attach those to my JIRA issue?

Yes, patches against JIRA will always be supported, but keep in mind that the Spring Framework project itself is hosted on GitHub as well, and pull requests are even better! See the "Contributing" section of the Spring Framework readme for details.

Can I still attach .zip files to my JIRA issue? Is it required to use this repository?

Yes, you may still attach zip files if it works best for you. Submitting pull requests against this repository as described above is the mechanism that the Spring team prefers, but what's most important is that we get code from you that reproduces the problem! Please consider this approach, but zip files are still OK.

Something went wrong with that request. Please try again.