Project

General

Profile

Actions

Bug #2734

closed

repoviewer error when no content object is returned upon creation

Added by Jens Vanderheyden over 12 years ago. Updated about 12 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

Actions #1

Updated by Stefaan Vanbillemont over 12 years ago

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

Updated by Stefaan Vanbillemont about 12 years ago

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

Updated by Stefaan Vanbillemont about 12 years ago

  • Target version changed from 21 to 2.1.0
Actions #4

Updated by Anonymous about 12 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

Actions #5

Updated by Stefaan Vanbillemont about 12 years ago

  • Status changed from Needs testing to Bug resolved
Actions

Also available in: Atom PDF