View Issue Details

IDProjectCategoryView StatusLast Update
0010615mantisbtapi soappublic2010-02-22 14:34
Reporterreapazor Assigned Torombert  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Versiongit trunk 
Target Version1.2.0Fixed in Version1.2.0 
Summary0010615: API Failure
Description

Return of HTML type content:

PHP Fatal error: Cannot use object of type BugData as array in /bugs/httpdocs/api/soap/mc_project_api.php on line 54

Steps To Reproduce

Utilize soap to call lists of bugs

Additional Information

Fixed via:

mc_project_api.php:54-57 changed too ...

if( !empty( $t_issue_data->handler_id ) ) {
$t_issue['handler'] = mci_account_get_array_by_id( $t_issue_data->handler_id );
}

Additionally the removal of reference passing (&) to all functions used in that block of code (paul_) resolved many of the other issues.

TagsNo tags attached.
Attached Files

Relationships

has duplicate 0010783 closeddhx Excel export not working 

Activities

arvid

arvid

2009-07-02 03:16

reporter   ~0022354

I have basically the same error on excel_xml_export.php
IE and FF give a 404, but this is in my Apache logs:
PHP Fatal error: Cannot use object of type BugData as array in /srv/www/mantistest/mantisbt-1.2.0rc1/excel_xml_export.php on line 97

rombert

rombert

2009-10-25 17:49

reporter   ~0023319

These seem to be fixed some time ago. Does this still appear with 1.2.0 rc2?

arvid

arvid

2009-10-26 04:02

reporter   ~0023325

It does:
[Mon Oct 26 08:56:56 2009] [error] [client 192.168.0.123] PHP Fatal error: Cannot use object of type BugData as array in /srv/www/mantistest2/mantisbt-1.2.0rc2/excel_xml_export.php on line 97, referer: https://intranet/testmantis2/view_all_bug_page.php

rombert

rombert

2009-10-26 07:00

reporter   ~0023326

Fixed in both the 1.3 and 1.2 streams.

Related Changesets

MantisBT: master-1.2.x 18ad379c

2009-10-26 06:47

rombert


Details Diff
Fixes 0010615: Excel export did not use the BugData API

excel_xml_export used the old array-style access of the bug information,
but filter_get_bug_rows returns BugData objects.
Affected Issues
0010615
mod - excel_xml_export.php Diff File

MantisBT: master 2d5e0144

2009-10-26 06:47

rombert


Details Diff
Fixes 0010615: Excel export did not use the BugData API

excel_xml_export used the old array-style access of the bug information,
but filter_get_bug_rows returns BugData objects.
Affected Issues
0010615
mod - excel_xml_export.php Diff File