Project

General

Profile

Bug #6607

wiki discuss: fatal error

Added by Anonymous over 6 years ago. Updated over 6 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
-
Start date:
22/08/2013
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal

Description

when lcicking the discuss button on a wiki article:


Fatal error: Class '12' not found in /home/kmoerman/Code/chamilo-dev/repository/php/lib/data_manager/data_manager.class.php on line 149

Call Stack:
    0.1449     676896   1. {main}() /home/kmoerman/Code/chamilo-dev/index.php:0
    0.4537   17393736   2. common\libraries\Application::launch(???, ???) /home/kmoerman/Code/chamilo-dev/index.php:87
    0.4611   18681984   3. application\weblcms\WeblcmsManagerCourseViewerComponent->run() /home/kmoerman/Code/chamilo-dev/common/libraries/php/shared/application.class.php:777
    0.5895   23108504   4. application\weblcms\Tool::factory_and_launch(???, ???) /home/kmoerman/Code/chamilo-dev/application/weblcms/php/lib/weblcms_manager/component/course_viewer.class.php:122
    0.5900   23176568   5. common\libraries\SubManager::launch(???, ???, ???) /home/kmoerman/Code/chamilo-dev/application/weblcms/php/lib/tool/tool.class.php:154
    0.5958   23896272   6. application\weblcms\tool\wiki\WikiToolComplexDisplayComponent->run() /home/kmoerman/Code/chamilo-dev/common/libraries/php/shared/sub_manager.class.php:340
    0.6214   27371872   7. repository\ComplexDisplay::launch(???, ???, ???) /home/kmoerman/Code/chamilo-dev/application/weblcms/tool/wiki/php/lib/component/complex_display.class.php:42
    0.6354   31863088   8. repository\ComplexDisplay::launch(???, ???, ???) /home/kmoerman/Code/chamilo-dev/repository/php/lib/complex_display/complex_display.class.php:115
    0.6354   31863432   9. common\libraries\SubManager::launch(???, ???, ???) /home/kmoerman/Code/chamilo-dev/repository/php/lib/complex_display/complex_display.class.php:110
    0.6761   34786576  10. repository\content_object\wiki\WikiComplexDisplayWikiDiscussComponent->run() /home/kmoerman/Code/chamilo-dev/common/libraries/php/shared/sub_manager.class.php:340
    0.6769   34916832  11. common\extensions\feedback_manager\FeedbackManager->run() /home/kmoerman/Code/chamilo-dev/repository/content_object/wiki/php/lib/complex_display/component/wiki_discuss.class.php:40
    0.6777   35055448  12. common\extensions\feedback_manager\FeedbackManagerBrowserComponent->run() /home/kmoerman/Code/chamilo-dev/common/extensions/feedback_manager/php/lib/manager/feedback_manager.class.php:63
    0.7034   36364304  13. common\libraries\SubManager->display_header() /home/kmoerman/Code/chamilo-dev/common/extensions/feedback_manager/php/lib/manager/component/browser.class.php:36
    0.7034   36364304  14. repository\content_object\wiki\WikiComplexDisplayWikiDiscussComponent->display_header() /home/kmoerman/Code/chamilo-dev/common/libraries/php/shared/sub_manager.class.php:71
    0.7042   36364472  15. repository\DataManager::retrieve_complex_content_object_item(???, ???) /home/kmoerman/Code/chamilo-dev/repository/content_object/wiki/php/lib/complex_display/component/wiki_discuss.class.php:51
    0.7043   36367784  16. repository\DataManager::fetch_complex_content_object_item(???, ???) /home/kmoerman/Code/chamilo-dev/repository/php/lib/data_manager/data_manager.class.php:107

mind the URL: view-source:http://chamilo.local/index.php?application=weblcms&course=2&tool=wiki&go=course_viewer&browser=table&tool_action=complex_display&publication=30&display_action=wiki_discuss&selected_cloi=12

selected_cloi=12, is where Class '12' comes from (presumably).
This issue might be related to https://support.chamilo.org/issues/6530, however i psot it in the repository tracker because msot of the calling methods come from the repository


Files

History

#1

Updated by Anonymous over 6 years ago

resolved:
file /repository/content_object/wiki/php/lib/complex_display/component/wiki_discuss.class.php line 51
flip parameters, to match the signature of method retrieve_complex_content_object_item in file repository/php/lib/data_manager/data_manager.class.php on line 90

#2

Updated by Anonymous over 6 years ago

  • Status changed from New to Bug resolved
#3

Updated by Anonymous over 6 years ago

  • Target version set to LCMS 4 Beta

Also available in: Atom PDF