Project

General

Profile

Bug #3913

Error when Importing assessment with question types other than Open quesion

Added by Shoira Mukhsinova about 8 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
23/09/2011
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal

Description

When importing an assessment which contains questions types other than an open question the following error is generated:

! ) Fatal error: Maximum function nesting level of '100' reached, aborting! in /var/www/pointcarre2.0/chamilo/common/libraries/php/ims/common/reader/ims_xml_reader.class.php on line 166
Call Stack
  1. Time Memory Function Location
    1 0.0004 658120 {main}( ) ../run.php:0
    2 0.3093 12897240 common\libraries\Application::launch( string(7), object(user\User)[138] ) ../run.php:40
    3 0.4182 26052136 application\weblcms\WeblcmsManagerCourseViewerComponent->run( ) ../application.class.php:865
    4 0.4276 26060920 application\weblcms\Tool::launch( string(11), object(application\weblcms\WeblcmsManagerCourseViewerComponent)[130] ) ../course_viewer.class.php:170
    5 0.4584 34281648 common\libraries\SubManager::launch( string(52), object(application\weblcms\WeblcmsManagerCourseViewerComponent)[130], ? ) ../tool.class.php:570
    6 0.4598 34354176 application\weblcms\tool\maintenance\MaintenanceToolViewerComponent->run( ) ../sub_manager.class.php:356
    7 0.4675 35140312 HTML_QuickForm_Controller->run( ) ../viewer.class.php:34
    8 0.4676 35141136 common\libraries\FormValidatorPage->handle( string(4) ) ../Controller.php:141
    9 0.4676 35141216 HTML_QuickForm_Controller->handle( object(application\weblcms\tool\maintenance\CpImportSelectionMaintenanceWizardPage)[212], string(4) ) ../form_validator_page.class.php:102
    10 0.4677 35164920 HTML_QuickForm_Action_Next->perform( object(application\weblcms\tool\maintenance\CpImportSelectionMaintenanceWizardPage)[212], string(4) ) ../Controller.php:214
    11 0.4940 38651160 common\libraries\FormValidatorPage->handle( string(7) ) ../Next.php:62
    12 0.4940 38651240 HTML_QuickForm_Controller->handle( object(application\weblcms\tool\maintenance\CpImportSelectionMaintenanceWizardPage)[212], string(7) ) ../form_validator_page.class.php:102
    13 0.4940 38651320 application\weblcms\tool\maintenance\MaintenanceWizardProcess->perform( object(application\weblcms\tool\maintenance\CpImportSelectionMaintenanceWizardPage)[212], string(7) ) ../Controller.php:203
    14 0.4944 38697424 application\weblcms\tool\maintenance\ActionImportCp->perform( object(application\weblcms\tool\maintenance\CpImportSelectionMaintenanceWizardPage)[212], string(7) ) ../maintenance_wizard_process.class.php:68
    15 0.5043 40536928 repository\CpImport->import_content_object( ) ../action_import_cp.class.php:37
    16 0.5100 41030152 repository\CpObjectImportBase->import( object(common\libraries\ObjectImportSettings)[228] ) ../cp_import.class.php:67
    17 0.5108 41031464 repository\BufferedCpImport->process_import( object(common\libraries\ObjectImportSettings)[228] ) ../cp_object_import_base.class.php:130
    18 0.5109 41032216 repository\CpObjectImportAggregate->import( object(common\libraries\ObjectImportSettings)[228] ) ../buffered_cp_import.class.php:92
    19 0.5118 41033144 repository\CpObjectImportBase->import( object(common\libraries\ObjectImportSettings)[228] ) ../cp_object_import_aggregate.class.php:66
    20 0.5119 41033272 repository\ZipCpImport->process_import( object(common\libraries\ObjectImportSettings)[228] ) ../cp_object_import_base.class.php:130
    21 0.5253 42994192 repository\CpObjectImportBase->import( object(common\libraries\ObjectImportSettings)[260] ) ../zip_cp_import.class.php:28
    22 0.5264 42999008 repository\BufferedCpImport->process_import( object(common\libraries\ObjectImportSettings)[260] ) ../cp_object_import_base.class.php:130
    23 0.5265 42999808 repository\CpObjectImportAggregate->import( object(common\libraries\ObjectImportSettings)[260] ) ../buffered_cp_import.class.php:92
    24 0.5275 43003632 repository\DirCpImport->import( object(common\libraries\ObjectImportSettings)[260] ) ../cp_object_import_aggregate.class.php:66
    25 0.5279 43005728 repository\CpObjectImportBase->import( object(common\libraries\ObjectImportSettings)[260] ) ../dir_cp_import.class.php:47
    26 0.5280 43005856 repository\ImscpManifestCpImport->process_import( object(common\libraries\ObjectImportSettings)[260] ) ../cp_object_import_base.class.php:130
    27 0.5282 43009744 repository\ImscpManifestCpImport->import_organizations( object(common\libraries\ObjectImportSettings)[260], array(1) ) ../imscp_manifest_cp_import.class.php:37
    28 0.5282 43010256 repository\ImscpManifestCpImport->import_organization( object(common\libraries\ObjectImportSettings)[260], object(common\libraries\ImscpManifestReader)[269] ) ../imscp_manifest_cp_import.class.php:49
    29 0.5283 43013456 repository\ImscpManifestCpImport->import_item( object(common\libraries\ObjectImportSettings)[260], object(common\libraries\ImscpManifestReader)[271] ) ../imscp_manifest_cp_import.class.php:56
    30 0.5286 43017488 repository\ImscpManifestCpImport->import_resource( object(common\libraries\ObjectImportSettings)[260], object(common\libraries\ImscpManifestReader)[273], string(8) ) ../imscp_manifest_cp_import.class.php:67
    31 0.5287 43023616 repository\ImscpManifestCpImport->import_child( object(common\libraries\ObjectImportSettings)[268] ) ../imscp_manifest_cp_import.class.php:104
    32 0.5288 43023744 repository\CpObjectImportBase->import( object(common\libraries\ObjectImportSettings)[268] ) ../imscp_manifest_cp_import.class.php:111
    33 0.5295 43024360 repository\BufferedCpImport->process_import( object(common\libraries\ObjectImportSettings)[268] ) ../cp_object_import_base.class.php:130
    34 0.5296 43025184 repository\CpObjectImportAggregate->import( object(common\libraries\ObjectImportSettings)[268] ) ../buffered_cp_import.class.php:92
    35 0.5305 43029008 repository\CpObjectImportBase->import( object(common\libraries\ObjectImportSettings)[268] ) ../cp_object_import_aggregate.class.php:66
    36 0.5306 43029136 repository\ZipCpImport->process_import( object(common\libraries\ObjectImportSettings)[268] ) ../cp_object_import_base.class.php:130
    37 0.5334 43033720 repository\CpObjectImportBase->import( object(common\libraries\ObjectImportSettings)[272] ) ../zip_cp_import.class.php:28
    38 0.5344 43037608 repository\BufferedCpImport->process_import( object(common\libraries\ObjectImportSettings)[272] ) ../cp_object_import_base.class.php:130
    39 0.5345 43038408 repository\CpObjectImportAggregate->import( object(common\libraries\ObjectImportSettings)[272] ) ../buffered_cp_import.class.php:92
    40 0.5354 43042232 repository\DirCpImport->import( object(common\libraries\ObjectImportSettings)[272] ) ../cp_object_import_aggregate.class.php:66
    41 0.5359 43044328 repository\CpObjectImportBase->import( object(common\libraries\ObjectImportSettings)[272] ) ../dir_cp_import.class.php:47
    42 0.5360 43044456 repository\ImscpManifestCpImport->process_import( object(common\libraries\ObjectImportSettings)[272] ) ../cp_object_import_base.class.php:130
    43 0.5361 43048112 repository\ImscpManifestCpImport->import_organizations( object(common\libraries\ObjectImportSettings)[272], array(1) ) ../imscp_manifest_cp_import.class.php:37
    44 0.5361 43048624 repository\ImscpManifestCpImport->import_organization( object(common\libraries\ObjectImportSettings)[272], object(common\libraries\ImscpManifestReader)[282] ) ../imscp_manifest_cp_import.class.php:49
    45 0.5362 43051824 repository\ImscpManifestCpImport->import_item( object(common\libraries\ObjectImportSettings)[272], object(common\libraries\ImscpManifestReader)[284] ) ../imscp_manifest_cp_import.class.php:56
    46 0.5365 43055392 repository\ImscpManifestCpImport->import_resource( object(common\libraries\ObjectImportSettings)[272], object(common\libraries\ImscpManifestReader)[286], string(8) ) ../imscp_manifest_cp_import.class.php:67
    47 0.5366 43061528 repository\ImscpManifestCpImport->import_child( object(common\libraries\ObjectImportSettings)[281] ) ../imscp_manifest_cp_import.class.php:104
    48 0.5367 43061656 repository\CpObjectImportBase->import( object(common\libraries\ObjectImportSettings)[281] ) ../imscp_manifest_cp_import.class.php:111
    49 0.5369 43062248 repository\BufferedCpImport->process_import( object(common\libraries\ObjectImportSettings)[281] ) ../cp_object_import_base.class.php:130
    50 0.5370 43063072 repository\CpObjectImportAggregate->import( object(common\libraries\ObjectImportSettings)[281] ) ../buffered_cp_import.class.php:92
    51 0.5373 43066896 repository\CpObjectImportBase->import( object(common\libraries\ObjectImportSettings)[281] ) ../cp_object_import_aggregate.class.php:66
    52 0.5373 43067024 repository\QtiCpImport->process_import( object(common\libraries\ObjectImportSettings)[281] ) ../cp_object_import_base.class.php:130
    53 0.5674 44582024 common\libraries\BufferedObjectImport->import_content_object( ) ../qti_cp_import.class.php:35
    54 0.5675 44582240 repository\QtiBuilderImport->import_content_object( ) ../buffered_object_import.class.php:28
    55 0.5677 44587016 repository\QtiAssessmentBuilder->build( object(common\libraries\ImsQtiReader)[294] ) ../qti_builder_import.class.php:59
    56 0.6767 46113416 repository\QtiAssessmentBuilder->import_testpart( object(common\libraries\ImsQtiReader)[316], object(repository\content_object\assessment\Assessment)[291] ) ../qti_assessment_builder.class.php:61
    57 0.6770 46115800 repository\QtiAssessmentBuilder->import_assessment_section( object(common\libraries\ImsQtiReader)[317], object(repository\content_object\assessment\Assessment)[291] ) ../qti_assessment_builder.class.php:77
    58 0.6788 46268584 repository\QtiAssessmentBuilder->import_assessment_item_ref( object(common\libraries\ImsQtiReader)[320], object(repository\content_object\assessment\Assessment)[291] ) ../qti_assessment_builder.class.php:90
    59 0.7446 47179552 common\libraries\BufferedObjectImport->import_content_object( ) ../qti_assessment_builder.class.php:99
    60 0.7447 47179768 repository\QtiBuilderImport->import_content_object( ) ../buffered_object_import.class.php:28
    61 0.7449 47184544 repository\QtiAssessmentMatchTextQuestionBuilder->build( object(common\libraries\ImsQtiReader)[360] ) ../qti_builder_import.class.php:59
    62 0.7544 47194544 repository\QtiBuilderBase->get_feedback( object(common\libraries\ImsQtiReader)[360], object(common\libraries\ImsQtiReader)[365], string(4), ?
    ) ../qti_assessment_match_text_question_builder.class.php:89
    63 0.7545 47195656 repository\QtiAssessmentMatchTextQuestionBuilder->get_feedbacks( object(common\libraries\ImsQtiReader)[360], object(common\libraries\ImsQtiReader)[365], string(4), array(0) ) ../qti_builder_base.class.php:176
    64 0.7545 47196528 repository\QtiBuilderBase->__call( string(13), array(4) ) ../qti_builder_base.class.php:0
    65 0.7545 47197160 call_user_func_array ( array(2), array(4) ) ../qti_builder_base.class.php:246
    66 0.7545 47198032 common\libraries\QtiImportStrategyChain->get_feedbacks( object(common\libraries\ImsQtiReader)[360], object(common\libraries\ImsQtiReader)[365], string(4), array(0) ) ../qti_builder_base.class.php:0
    67 0.7545 47199576 common\libraries\QtiImportStrategyChain->delegate( string(13), array(4) ) ../qti_import_strategy_chain.class.php:96
    68 0.7548 47201240 call_user_func_array ( array(2), array(4) ) ../qti_import_strategy_chain.class.php:47
    69 0.7548 47202112 common\libraries\QtiImportStrategyGeneric->get_feedbacks( object(common\libraries\ImsQtiReader)[360], object(common\libraries\ImsQtiReader)[365], string(4), array(0) ) ../qti_import_strategy_chain.class.php:0
    70 0.7548 47202112 common\libraries\QtiImportStrategyChain->get_modal_feedbacks( object(common\libraries\ImsQtiReader)[360], object(common\libraries\ImsQtiReader)[365], string(4), array(0) ) ../qti_import_strategy_generic.class.php:38
    71 0.7548 47203664 common\libraries\QtiImportStrategyChain->delegate( string(19), array(4) ) ../qti_import_strategy_chain.class.php:102
    72 0.7551 47206000 call_user_func_array ( array(2), array(4) ) ../qti_import_strategy_chain.class.php:47
    73 0.7551 47206872 common\libraries\QtiImportStrategyGeneric->get_modal_feedbacks( object(common\libraries\ImsQtiReader)[360], object(common\libraries\ImsQtiReader)[365], string(4), array(0) ) ../qti_import_strategy_chain.class.php:0
    74 0.7564 47211984 common\libraries\QtiInterpreter->response( object(common\libraries\ImsQtiReader)[360] ) ../qti_import_strategy_generic.class.php:50
    75 0.7565 47213720 common\libraries\QtiInterpreter->process( object(common\libraries\ImsQtiReader)[372], ? ) ../qti_interpreter.class.php:217
    76 0.7565 47215160 call_user_func_array ( array(2), array(1) ) ../qti_interpreter.class.php:375
    77 0.7565 47215648 common\libraries\QtiInterpreter->process_responseProcessing( object(common\libraries\ImsQtiReader)[372] ) ../qti_interpreter.class.php:0
    78 0.7565 47216200 common\libraries\QtiInterpreter->process_children( object(common\libraries\ImsQtiReader)[372], ?
    ) ../qti_interpreter.class.php:538
    79 0.7566 47223736 call_user_func_array ( array(2), array(1) ) ../qti_interpreter.class.php:394
    80 0.7566 47224224 common\libraries\QtiInterpreter->process( object(common\libraries\ImsQtiReader)[369], ? ) ../qti_interpreter.class.php:0
    81 0.7566 47225664 call_user_func_array ( array(2), array(1) ) ../qti_interpreter.class.php:375
    82 0.7566 47226152 common\libraries\QtiInterpreter->process_responseCondition( object(common\libraries\ImsQtiReader)[369] ) ../qti_interpreter.class.php:0
    83 0.7574 47230096 common\libraries\QtiInterpreter->process( object(common\libraries\ImsQtiReader)[383], ?
    ) ../qti_interpreter.class.php:682
    84 0.7574 47231528 call_user_func_array ( array(2), array(1) ) ../qti_interpreter.class.php:375
    85 0.7574 47232016 common\libraries\QtiInterpreter->process_responseElse( object(common\libraries\ImsQtiReader)[383] ) ../qti_interpreter.class.php:0
    86 0.7574 47232016 common\libraries\QtiInterpreter->process_children( object(common\libraries\ImsQtiReader)[383], ? ) ../qti_interpreter.class.php:724
    87 0.7575 47235680 call_user_func_array ( array(2), array(1) ) ../qti_interpreter.class.php:394
    88 0.7575 47236168 common\libraries\QtiInterpreter->process( object(common\libraries\ImsQtiReader)[378], ?
    ) ../qti_interpreter.class.php:0
    89 0.7575 47237600 call_user_func_array ( array(2), array(1) ) ../qti_interpreter.class.php:375
    90 0.7575 47238088 common\libraries\QtiInterpreter->process_setOutcomeValue( object(common\libraries\ImsQtiReader)[378] ) ../qti_interpreter.class.php:0
    91 0.7575 47238648 common\libraries\QtiInterpreter->process_children( object(common\libraries\ImsQtiReader)[378], ? ) ../qti_interpreter.class.php:730
    92 0.7576 47242312 call_user_func_array ( array(2), array(1) ) ../qti_interpreter.class.php:394
    93 0.7576 47242800 common\libraries\QtiInterpreter->process( object(common\libraries\ImsQtiReader)[380], ?
    ) ../qti_interpreter.class.php:0
    94 0.7576 47244232 call_user_func_array ( array(2), array(1) ) ../qti_interpreter.class.php:375
    95 0.7576 47244720 common\libraries\QtiInterpreter->process_mapResponse( object(common\libraries\ImsQtiReader)[380] ) ../qti_interpreter.class.php:0
    96 0.7577 47245288 common\libraries\QtiInterpreter->get_declaration( string(10) ) ../qti_interpreter.class.php:924
    97 0.7577 47245288 common\libraries\ImsQtiReader->get_child_by_id( string(10) ) ../qti_interpreter.class.php:280
    98 0.7577 47245448 common\libraries\ImsXmlReader->query( string(30), ??? ) ../ims_qti_reader.class.php:42
    99 0.7577 47245448 common\libraries\ImsXmlReader->get_default_namespace( ) ../ims_xml_reader.class.php:271
    Dump $_SERVER

History

#1

Updated by Stefaan Vanbillemont almost 8 years ago

  • Target version changed from 2.1.0 to Backlog (default)

Also available in: Atom PDF