Project

General

Profile

Bug #2734

repoviewer error when no content object is returned upon creation

Added by Jens Vanderheyden almost 9 years ago. Updated over 8 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
-
Target version:
Start date:
03/02/2011
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal

Description

objectform->create_content_object sometimes cannot return a content object. this is NOT caught by the repoviewer which only expects a content object

Fatal error: Call to a member function get_id() on a non-object in /var/www/chamilo/common/extensions/repo_viewer/php/component/creator.class.php on line 183

History

#1

Updated by Stefaan Vanbillemont almost 9 years ago

  • Category set to 4
  • Target version set to 21
#2

Updated by Stefaan Vanbillemont over 8 years ago

  • Project changed from Chamilo LCMS Connect to Repository
  • Category deleted (4)
#3

Updated by Stefaan Vanbillemont over 8 years ago

  • Target version changed from 21 to 2.1.0
#4

Updated by Anonymous over 8 years ago

  • Status changed from New to Needs testing
  • Assignee set to Anonymous
  • % Done changed from 0 to 100

implemented a check on stable line.

since it is impossible to check the "failure of creation", I've redirected with a failure message when creation was successful, and inverted this check.

this should fix the problem

#5

Updated by Stefaan Vanbillemont over 8 years ago

  • Status changed from Needs testing to Bug resolved

Also available in: Atom PDF