Bug #4321

Upload Multi page files as multiple descriptions YES causes error when importing multi-page pdf.

Added by Jessica Bushey about 8 years ago. Updated over 7 years ago.

Status:VerifiedStart date:
Priority:HighDue date:
Assignee:Jesús García Crespo% Done:

0%

Category:-
Target version:Release 1.3
Google Code Legacy ID:atom-2373 Tested version:
Sponsored: Requires documentation:

Description

To reproduce this error: ========================
1)Select YES in admin global settings for multi-page files
2)Import digital object (PDF multiple pages)

Resulting error: ================
Qubit_dev report:

Notice: Undefined variable: connection in /var/www/qubit/lib/model/QubitDigitalObject.php on line 1026

Warning: Cannot modify header information - headers already sent by (output started at /var/www/qubit/lib/model/QubitDigitalObject.php:1026) in /var/www/qubit/vendor/symfony/lib/exception/sfException.class.php on line 107

Warning: Cannot modify header information - headers already sent by (output started at /var/www/qubit/lib/model/QubitDigitalObject.php:1026) in /var/www/qubit/vendor/symfony/lib/exception/sfException.class.php on line 161

Warning: Cannot modify header information - headers already sent by (output started at /var/www/qubit/lib/model/QubitDigitalObject.php:1026) in /var/www/qubit/vendor/symfony/lib/response/sfWebResponse.class.php on line 336

Warning: Cannot modify header information - headers already sent by (output started at /var/www/qubit/lib/model/QubitDigitalObject.php:1026) in /var/www/qubit/vendor/symfony/lib/response/sfWebResponse.class.php on line 357

500 | Internal Server Error | sfException
Couldn't find information object (id:'.('id').')
stack trace

at ()
in SF_ROOT_DIR/lib/QubitSearchInformationObject.class.php line 196 ...
if (false === $this->data) {
throw new sfException("Couldn't find information object (id:'.$this->_get('id').')");
}
self::$statements['informationObject']->closeCursor();
at QubitSearchInformationObject->loadData('354', 'en', array())
in SF_ROOT_DIR/lib/QubitSearchInformationObject.class.php line 118 ...
at QubitSearchInformationObject->
_construct('354', 'en', array())
in SF_ROOT_DIR/lib/QubitSearch.class.php line 530 ...
at QubitSearch::updateInformationObjectIndex(object('QubitInformationObject'), 'en', array())
in SF_ROOT_DIR/lib/QubitSearch.class.php line 511 ...
at QubitSearch::updateInformationObject(object('QubitInformationObject'))
in SF_ROOT_DIR/lib/model/QubitInformationObject.php line 265 ...
at QubitInformationObject->save(null)
in SF_ROOT_DIR/lib/model/QubitDigitalObject.php line 1133 ...
at QubitDigitalObject->createCompoundChildren(null)
in SF_ROOT_DIR/lib/model/QubitDigitalObject.php line 318 ...
at QubitDigitalObject->save()
in SF_ROOT_DIR/apps/qubit/modules/informationobject/actions/multiFileUploadAction.class.php line 125 ...
at InformationObjectMultiFileUploadAction->processForm()
in SF_ROOT_DIR/apps/qubit/modules/informationobject/actions/multiFileUploadAction.class.php line 76 ...
at InformationObjectMultiFileUploadAction->execute(object('sfWebRequest'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfExecutionFilter.class.php line 92 ...
at sfExecutionFilter->executeAction(object('InformationObjectMultiFileUploadAction'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfExecutionFilter.class.php line 78 ...
at sfExecutionFilter->handleAction(object('sfFilterChain'), object('InformationObjectMultiFileUploadAction'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfExecutionFilter.class.php line 42 ...
at sfExecutionFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/lib/filter/QubitMeta.class.php line 41 ...
at QubitMeta->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/lib/filter/QubitSslRequirementFilter.class.php line 35 ...
at QubitSslRequirementFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/lib/filter/QubitLimitIp.class.php line 39 ...
at QubitLimitIpFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/lib/filter/QubitSettingsFilter.class.php line 31 ...
at QubitSettingsFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfRenderingFilter.class.php line 33 ...
at sfRenderingFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/plugins/sfHistoryPlugin/lib/sfHistoryPluginFilter.class.php line 18 ...
at sfHistoryPluginFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/lib/filter/QubitTransactionFilter.class.php line 40 ...
at QubitTransactionFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/vendor/symfony/lib/controller/sfController.class.php line 238 ...
at sfController->forward('informationobject', 'multiFileUpload')
in SF_ROOT_DIR/vendor/symfony/lib/controller/sfFrontWebController.class.php line 48 ...
at sfFrontWebController->dispatch()
in SF_ROOT_DIR/vendor/symfony/lib/util/sfContext.class.php line 170 ...
at sfContext->dispatch()
in SF_ROOT_DIR/qubit_dev.php line 12 ...

symfony settings ...
request ...
response ...
user ...
global vars ...

symfony v.1.4.19-DEV - php 5.3.2-1ubuntu4.14
for help resolving this issue, please visit http://www.symfony-project.org/ .

Expected result: ================
Multi-page object with descriptions

[g] Legacy categories: Import/Export, Digital object

History

#1 Updated by Jesús García Crespo about 8 years ago

  • Priority changed from Medium to High

[g] Labels added: Priority-High
[g] Labels removed: Priority-Medium
[g] New owner: Jesús García Crespo

#2 Updated by Jesús García Crespo about 8 years ago

  • Status changed from New to QA/Review

Fixed in r11883.

#3 Updated by Jessica Bushey about 8 years ago

  • Status changed from QA/Review to Verified

Also available in: Atom PDF