View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0001078 | Third-party Modules | Project Importer | public | 2012-03-08 11:11 | 2014-06-13 19:21 | ||||||||
Reporter | project_manager | ||||||||||||
Assigned To | caseydk | ||||||||||||
Priority | normal | Severity | crash | Reproducibility | always | ||||||||
Status | resolved | Resolution | fixed | ||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0001078: Add on: Project Importer: fatal error: wrong type call | ||||||||||||
Description | latest version from SVN (about 9-10 month old) installed and fatal error reported after pressing "Import Data" button: Catchable fatal error: Argument 1 passed to MSProjectImporter::view() must be an instance of CAppUI, instance of w2p_Core_CAppUI given, called in ..\modules\importers\view.php on line 28 and defined in ..\modules\importers\imports\MSProjectImporter.class.php on line 140 | ||||||||||||
Additional Information | ..\modules\importers\view.php on line 28: <?php echo $importer->view($AppUI); ?> ---> $AppUI has the type of w2p_Core_CAppUI !!!!!!!!!!!!!!!!!! ..\modules\importers\imports\MSProjectImporter.class.php on line 140: public function view(CAppUI $AppUI) { | ||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files |
|
![]() |
|
project_manager (reporter) 2012-03-08 11:17 |
Project Importer: v4.2 |
Korkonius (reporter) 2012-03-10 02:48 |
You can probably fix this error by changing line 140 in ..\modules\importers\imports\MSProjectImporter.class.php to: public function view(w2p_Core_CAppUI $AppUI) { |
project_manager (reporter) 2012-03-10 06:42 |
Thanks Korkonius, good help ! Problem solved, the class "CAppUI" should be replaced with new (v.3.x) "w2p_Core_CAppUI" in all called functions. Affected files: importers.class.php , MSProjectImporter.class.php . As it works now (v.3.x with importer v.4.2) I assume that there was only a name change of this class (in ver. 3.x) without any changes in class declaration. |
project_manager (reporter) 2012-03-10 07:00 |
I dont know how to change the status, have no access to the Mantis issue header. |
caseydk (administrator) 2014-06-13 19:21 |
Resolved in development: https://github.com/web2project/modules-importers/commit/4797aa265232c4edbf5270d4ace039c0aa0a0d5a |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2012-03-08 11:11 | project_manager | New Issue | |
2012-03-08 11:17 | project_manager | Note Added: 0002436 | |
2012-03-10 02:48 | Korkonius | Note Added: 0002438 | |
2012-03-10 06:42 | project_manager | Note Added: 0002439 | |
2012-03-10 07:00 | project_manager | Note Added: 0002440 | |
2012-03-18 00:48 | caseydk | Project | v3.0 Release => Third-party Modules |
2012-10-21 22:53 | caseydk | Category | -- none specified -- => Project Importer |
2014-04-05 17:44 | caseydk | Category | General => Project Importer |
2014-06-13 19:21 | caseydk | Note Added: 0003463 | |
2014-06-13 19:21 | caseydk | Status | new => resolved |
2014-06-13 19:21 | caseydk | Resolution | open => fixed |
2014-06-13 19:21 | caseydk | Assigned To | => caseydk |