two-pack / redmine_xls_export

Redmine XLS Export plugin from http://www.redmine.org/plugins/redmine_xls_export
Other
68 stars 42 forks source link

Failed test of DetailedExportTest#test_to_export_with_splitting_by_grouping_criteria #105

Closed two-pack closed 7 years ago

two-pack commented 7 years ago

On Travis-CI, DetailedExportTest#test_to_export_with_splitting_by_grouping_criteria is failed with Redmine trunk.

The log is following:

  1) Failure:
DetailedExportTest#test_to_export_with_splitting_by_grouping_criteria [/home/travis/build/two-pack/redmine_xls_export/workspace/redmine/plugins/redmine_xls_export/test/integration/detailed_export_test.rb:128]:
Expected: 200
  Actual: 500

https://travis-ci.org/two-pack/redmine_xls_export/jobs/193732709

two-pack commented 7 years ago

This problem is occured after commiting r16221 on Redmine repository. http://www.redmine.org/issues/24865

two-pack commented 7 years ago

Redmine changes to load associations of query results more efficiently. This plugin implements exporting like Redmine CSV export, so affected it.

I fixes this problem how to change the code of query issues like Redmine changes. I assume Redmine next Mainor stable version doesn't include that Redmine change. If Redmine is going to apply that, this plugin will have error again.