Bug #2717
course create fails without document tool
100%
Description
upon creating a course of a course type that has no document tool, following error is produced
( ! ) Fatal error: Call to a member function get_id() on a non-object in /var/www/pointcarre2/application/weblcms/php/lib/category_manager/content_object_publication_category.class.php on line 50Call Stack
- Time Memory Function Location
1 0.0003 680608 {main}( ) ../run.php:0
2 0.1705 11498288 common\libraries\Application::launch( ) ../run.php:40
3 0.2330 23576864 application\weblcms\WeblcmsManagerCourseCreatorComponent->run( ) ../application.class.php:852
4 0.3355 29498320 application\weblcms\CommonForm->save( ) ../course_creator.class.php:84
5 0.3355 29498320 application\weblcms\CourseForm->create( ) ../common_form.class.php:108
6 0.3552 30293088 application\weblcms\Course->create( ) ../course_form.class.php:756
7 0.5700 30572976 application\weblcms\ContentObjectPublicationCategory->create_dropbox( ) ../course.class.php:1031
8 0.5701 30574184 application\weblcms\ContentObjectPublicationCategory->create( ) ../content_object_publication_category.class.php:65
Associated revisions
Update chartjs call to use new version - refs #2717
update charts summary - refs #2717
Create getToolsStats() to get tools stats for the platform rather than calling printToolStats and having it printed straight away - loosely refs #2717
Add chart in tools usage stats - loosely refs #2717
Add fillUpTo option to getColorPalette() to enable more colors - refs #2717
Improvement of report design - refs #2717
Add yellow color to palette to have at least 10 colors - refs #2717
Update colors and language terms in new course tracking charts - refs #2717
Use getUserPicture() instead of get_user_picture_path_by_id() to get gravatar if any - refs #2717
Minor - Avoid error in case of incoherent data due to changing quiz total score (values above 100%) - refs #2717
Minor - Rename variable - refs #2717
Add fillUpTo option to getColorPalette() to enable more colors - refs #2717
Minor - use api_get_user_info_from_username() to get user info
Fix firstname, lastname see #2717
Admin: Add charts for several statistics pages - loosely refs #2717
Admin: Add charts for several statistics pages - loosely refs #2717
Escape title in JS charts in course tracking - refs #2717
History
Updated by Sven Vanpoucke almost 12 years ago
- Status changed from New to Needs testing
- % Done changed from 0 to 100
Fixed!
Updated by Stefaan Vanbillemont almost 12 years ago
- Status changed from Needs testing to Bug resolved
Updated by Stefaan Vanbillemont almost 12 years ago
- Project changed from Chamilo LCMS Connect to Courses
- Category deleted (
2)
adding statistical charts in course reports - refs #2717