View Issue Details

IDProjectCategoryView StatusLast Update
0013492mantisbtcsvpublic2012-10-08 05:31
Reportervincent_sels Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Product Version1.2.8 
Summary0013492: Excel export fails when column sponsorship_total is included
Description

When exporting to excel with column 'sponsorship_total' included in the column list, the resulting excel cannot be opened. Following error is included at the bottom of the excel file:

Fatal error: Call to undefined function excel_format_sponsorship_total() in C:\www\webroot\joomla\mantis\excel_xml_export.php on line 96

Tagsexcel, sponsor, sponsorship

Relationships

duplicate of 0013959 closeddregad Fatal error: Call to undefined function excel_format_sponsorship_total() 

Activities

vincent_sels

vincent_sels

2011-11-07 06:45

reporter   ~0030191

This can be easily fixed by adding the following code to file excel_api.php:

/**

  • return the sponsorship total for an issue
  • @param int $p_sponsorship_total
  • @return string
  • @access public
    */
    function excel_format_sponsorship_total( $p_sponsorship_total ) {
    return excel_prepare_string( number_format( $p_sponsorship_total ) );
    }
grangeway

grangeway

2012-01-27 16:02

reporter   ~0031064

Fixed

atrol

atrol

2012-01-27 16:45

developer   ~0031065

Reminder sent to: grangeway

Why do you think the issue can be set to fixed in 1.3.x ?
I am able to reproduce the issue and do not see any commit to master.

atrol

atrol

2012-02-04 11:46

developer   ~0031120

Reopened

vincent_sels

vincent_sels

2012-05-29 10:09

reporter   ~0031918

No feedback required I think :)

dregad

dregad

2012-09-27 12:23

developer   ~0032970

I actually fixed this earlier this year (see 0013959)