Project

General

Profile

Bug #2678

cannot view a handbook with a document item

Added by Laurent Opprecht about 9 years ago. Updated almost 9 years ago.

Status:
Bug resolved
Priority:
Normal
Target version:
Start date:
26/01/2011
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal

Description

create a handbook
add a document item
go to handbook application
publish handbook
in handbook application click on "view" icon
error message

HandbookManagerHandbookFullViewerComponent

( ! ) Fatal error: Call to a member function get_id() on a non-object in C:\wamp\www\chamilo\application\handbook\php\lib\handbook_manager\handbook_manager.class.php on line 707
Call Stack
  1. Time Memory Function Location
    1 0.0004 338952 {main}( ) ..\run.php:0
    2 0.1303 7613504 common\libraries\Application::launch( ) ..\run.php:40
    3 0.1472 8883360 application\handbook\HandbookManagerHandbookFullViewerComponent->run( ) ..\application.class.php:852
    4 0.3629 15197048 application\handbook\HandbookManagerHandbookViewerComponent->get_menu( ) ..\handbook_full_viewer.class.php:53
    5 0.3629 15199968 application\handbook\HandbookMenu->__construct( ) ..\handbook_viewer.class.php:176
    6 0.3629 15200104 application\handbook\HandbookMenu->get_menu( ) ..\handbook_menu.class.php:60
    7 0.3692 15255208 application\handbook\HandbookMenu->get_handbook_items( ) ..\handbook_menu.class.php:101
    8 0.4887 16407760 application\handbook\HandbookManager::get_alternatives_preferences_types( ) ..\handbook_menu.class.php:152
    9 0.4975 16415592 application\handbook\HandbookManager::determine_most_suitable_co( ) ..\handbook_manager.class.php:599
    10 0.4975 16416464 application\handbook\HandbookManager::determine_most_suitable_candidates( ) ..\handbook_manager.class.php:650

History

#1

Updated by Nathalie Blocry about 9 years ago

  • Status changed from New to Needs testing
  • Assignee set to Nathalie Blocry

fixed http://code.google.com/p/chamilo/source/detail?r=a804f83ab646578b0b5f50cb6b619a6f321a2a09&repo=chamilo
but still problem with layout (in general for the handbook: still work in progress, will fix layout after implementing all functionality)

#2

Updated by Stefaan Vanbillemont about 9 years ago

  • Status changed from Needs testing to Bug resolved
#3

Updated by Stefaan Vanbillemont about 9 years ago

  • Project changed from Chamilo LCMS Connect to Common
  • Category deleted (21)
#4

Updated by Stefaan Vanbillemont almost 9 years ago

  • Target version set to 2.1.0

Also available in: Atom PDF