View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0014185 | mantisbt | plug-ins | public | 2012-04-24 04:26 | 2014-09-23 18:05 |
Reporter | vincent_sels | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.8 | ||||
Target Version | 1.2.11 | Fixed in Version | 1.2.11 | ||
Summary | 0014185: Only first 100 rows of plug-in columns loaded when exporting to Excel | ||||
Description | When you add plug-in columns to the 'bug view page' and export to Excel, only the values for the first 100 rows are displayed. | ||||
Tags | No tags attached. | ||||
Can easily be fixed in file: excel_xml_export.php Replace lines 48 - 50 by (equal to the csv_export.php): $t_page_number = 1; |
|
IMO a workaround but not a fix. I didn't have a deeper look, but maybe the real problem has been fixed. |
|
I was not able to reproduce the behavior you described, either with 1.2.8 or latest git trunk. In both cases, the custom field comes fully populated for all records when I exported to Excel on my test environment. If you are able to confirm this behavior, then please reopen this issue with detailed steps to reproduce it. |
|
Dregad - the problem occurs with plugin columns, nog custom field columns. That's probably the reason why you can't reproduce it. I did find that I fixed it incorrectly. The correct fix is even easier and very straightforward. The code that caches plugin columns based on the resultset, must be placed inside the do-while loop: pre-cache custom column datacolumns_plugin_cache_issue_data( $result ); I'll see if I can create a pull request for this. |
|
Sorry for misreading your initial post Vincent - indeed with plugin columns I can reproduce the problem. I'll commit a fix shortly. |
|
Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch |
|
MantisBT: master 30e3d692 2012-05-29 11:20 Details Diff |
Fix Excel export of plug-in columns limited to first 100 rows Due to an incorrect location of columns_plugin_cache_issue_data() function call outside of the main loop, only the first 100 rows of plug-in columns were loaded when exporting issues to Excel. Thanks to vincent_sels for spotting the issue and identifying the root cause. Fixes 0014185 |
Affected Issues 0014185 |
|
mod - excel_xml_export.php | Diff File | ||
MantisBT: master-1.2.x e48ce931 2012-05-29 11:20 Details Diff |
Fix Excel export of plug-in columns limited to first 100 rows Due to an incorrect location of columns_plugin_cache_issue_data() function call outside of the main loop, only the first 100 rows of plug-in columns were loaded when exporting issues to Excel. Thanks to vincent_sels for spotting the issue and identifying the root cause. Fixes 0014185 |
Affected Issues 0014185 |
|
mod - excel_xml_export.php | Diff File |