Project

General

Profile

Bug #6649

when viewing a portfolio object: undefined method get_publisher_user_id

Added by Anonymous over 6 years ago. Updated over 6 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
-
Start date:
30/08/2013
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal

Description


Fatal error: Call to undefined method repository\ContentObjectPublicationAttributes::set_publisher_user_id() in /home/kmoerman/Code/chamilo-dev/application/portfolio/php/lib/data_manager/mdb2.class.php on line 255

Call Stack:
    0.1094     674128   1. {main}() /home/kmoerman/Code/chamilo-dev/index.php:0
    0.3444   17390896   2. common\libraries\Application::launch(???, ???) /home/kmoerman/Code/chamilo-dev/index.php:87
    0.3711   21765000   3. repository\RepositoryManagerViewerComponent->run() /home/kmoerman/Code/chamilo-dev/common/libraries/php/shared/application.class.php:777
    0.3989   24416072   4. repository\RepositoryManager->get_content_object_publication_attributes(???, ???, ???, ???, ???, ???) /home/kmoerman/Code/chamilo-dev/repository/php/lib/repository_manager/component/viewer.class.php:131
    0.3989   24416392   5. repository\DataManager::get_content_object_publication_attributes(???, ???, ???, ???, ???, ???) /home/kmoerman/Code/chamilo-dev/repository/php/lib/repository_manager/repository_manager.class.php:471
    0.4425   30180848   6. call_user_func(???, ???, ???, ???) /home/kmoerman/Code/chamilo-dev/repository/php/lib/data_manager/data_manager.class.php:1123
    0.4437   30516592   7. application\portfolio\PortfolioManager::get_content_object_publication_attributes(???, ???, ???, ???, ???) /home/kmoerman/Code/chamilo-dev/repository/php/lib/data_manager/data_manager.class.php:1123
    0.4454   30859384   8. application\portfolio\Mdb2PortfolioDataManager->get_content_object_publication_attributes(???, ???, ???, ???, ???) /home/kmoerman/Code/chamilo-dev/application/portfolio/php/lib/portfolio_manager/portfolio_manager.class.php:220

History

#1

Updated by Anonymous over 6 years ago

the error comes from wrong methdo names. similarly:

Fatal error: Call to undefined method repository\ContentObjectPublicationAttributes::set_publication_date() in /home/kmoerman/Code/chamilo-dev/application/portfolio/php/lib/data_manager/mdb2.class.php on line 256

Call Stack:
    0.1034     674128   1. {main}() /home/kmoerman/Code/chamilo-dev/index.php:0
    0.3810   17390896   2. common\libraries\Application::launch(???, ???) /home/kmoerman/Code/chamilo-dev/index.php:87
    0.4059   21765000   3. repository\RepositoryManagerViewerComponent->run() /home/kmoerman/Code/chamilo-dev/common/libraries/php/shared/application.class.php:777
    0.4325   24416072   4. repository\RepositoryManager->get_content_object_publication_attributes(???, ???, ???, ???, ???, ???) /home/kmoerman/Code/chamilo-dev/repository/php/lib/repository_manager/component/viewer.class.php:131
    0.4325   24416392   5. repository\DataManager::get_content_object_publication_attributes(???, ???, ???, ???, ???, ???) /home/kmoerman/Code/chamilo-dev/repository/php/lib/repository_manager/repository_manager.class.php:471
    0.4740   30180848   6. call_user_func(???, ???, ???, ???) /home/kmoerman/Code/chamilo-dev/repository/php/lib/data_manager/data_manager.class.php:1123
    0.4751   30516592   7. application\portfolio\PortfolioManager::get_content_object_publication_attributes(???, ???, ???, ???, ???) /home/kmoerman/Code/chamilo-dev/repository/php/lib/data_manager/data_manager.class.php:1123
    0.4767   30859384   8. application\portfolio\Mdb2PortfolioDataManager->get_content_object_publication_attributes(???, ???, ???, ???, ???) /home/kmoerman/Code/chamilo-dev/application/portfolio/php/lib/portfolio_manager/portfolio_manager.class.php:220

Fatal error: Call to undefined method repository\ContentObjectPublicationAttributes::set_publication_object_id() in /home/kmoerman/Code/chamilo-dev/application/portfolio/php/lib/data_manager/mdb2.class.php on line 262

Call Stack:
    0.1037     674704   1. {main}() /home/kmoerman/Code/chamilo-dev/index.php:0
    0.4304   17391480   2. common\libraries\Application::launch(???, ???) /home/kmoerman/Code/chamilo-dev/index.php:87
    0.4599   21765328   3. repository\RepositoryManagerViewerComponent->run() /home/kmoerman/Code/chamilo-dev/common/libraries/php/shared/application.class.php:777
    0.4896   24416344   4. repository\RepositoryManager->get_content_object_publication_attributes(???, ???, ???, ???, ???, ???) /home/kmoerman/Code/chamilo-dev/repository/php/lib/repository_manager/component/viewer.class.php:131
    0.4896   24416664   5. repository\DataManager::get_content_object_publication_attributes(???, ???, ???, ???, ???, ???) /home/kmoerman/Code/chamilo-dev/repository/php/lib/repository_manager/repository_manager.class.php:471
    0.5415   30180728   6. call_user_func(???, ???, ???, ???) /home/kmoerman/Code/chamilo-dev/repository/php/lib/data_manager/data_manager.class.php:1123
    0.5428   30516504   7. application\portfolio\PortfolioManager::get_content_object_publication_attributes(???, ???, ???, ???, ???) /home/kmoerman/Code/chamilo-dev/repository/php/lib/data_manager/data_manager.class.php:1123
    0.5450   30859296   8. application\portfolio\Mdb2PortfolioDataManager->get_content_object_publication_attributes(???, ???, ???, ???, ???) /home/kmoerman/Code/chamilo-dev/application/portfolio/php/lib/portfolio_manager/portfolio_manager.class.php:220
#2

Updated by Anonymous over 6 years ago

Many of the get_content_object_publication_attribute[s] methods have this problem
files:

application/alexia/php/lib/data_manager/mdb2.class.php
application/assessment/php/lib/data_manager/mdb2.class.php
application/distribute/php/lib/data_manager/mdb2.class.php
application/elude/php/lib/data_manager/mdb2.class.php
application/gutenberg/php/lib/data_manager/mdb2.class.php
application/handbook/php/lib/storage/data_manager/data_manager.class.php
application/internship_organizer/php/lib/data_manager/database_internship_organizer_data_manager.class.php
application/internship_organizer/php/lib/data_manager/mdb2.class.php
application/photo_gallery/php/lib/data_manager/mdb2.class.php
application/phrases/php/lib/data_manager/mdb2.class.php
application/portfolio/php/lib/data_manager/mdb2.class.php
application/profiler/php/lib/data_manager/mdb2.class.php
application/survey/php/lib/data_manager/mdb2.class.php
application/wiki/php/lib/data_manager/mdb2.class.php

#3

Updated by Anonymous over 6 years ago

  • Status changed from New to Bug resolved

Fixed. added compatibility methods in the ContentObjectPublicationAttributes class. File repository/php/lib/content_object_publication_attributes.class.php.

Also available in: Atom PDF