repoviewer error when no content object is returned upon creation
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
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