Skip to main content

Course Restore Error

Course restore is resulting error message. Additionally, the content in the archive is not restored.

Description

Course restore is resulting error message. Additionally, the content in the archive is not restored.

Symptoms

Sql-error:

2015-08-21 09:48:14 -0400
PL/pgSQL function course_content_handlers_cr(bigint,bigint,character) line 5 at SQL statement
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157) 
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886) 
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255) 
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:555)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:417) 
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:410) 
at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) 
at blackboard.db.impl.MonitoringConnectionPool$SQLRecorder.execute(MonitoringConnectionPool.java:218) 
at blackboard.db.impl.MonitoringConnectionPool$MonitoringCallableStatement.execute(MonitoringConnectionPool.java:634) 
at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) 
at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) 
at blackboard.db.impl.SafetyNetCallableStatement.execute(SafetyNetCallableStatement.java:58) 
at blackboard.persist.impl.StoredProcedureQuery.doExecute(StoredProcedureQuery.java:337) 
at blackboard.persist.impl.GenericProcedureQuery.doExecute(GenericProcedureQuery.java:213) 
at blackboard.persist.impl.Query.executeQuery(Query.java:155) 
at blackboard.persist.impl.Query.executeQuery(Query.java:121) 
at blackboard.persist.impl.AbstractBaseDbPersister$DbConnectivityPrivilege.run(AbstractBaseDbPersister.java:276) 
at java.security.AccessController.doPrivileged(Native Method) 
at blackboard.persist.impl.AbstractBaseDbPersister.runQuery(AbstractBaseDbPersister.java:168) 
at blackboard.persist.impl.AbstractBaseDbPersister.runQuery(AbstractBaseDbPersister.java:139) 
at blackboard.persist.impl.NewBaseDbPersister.doInsert(NewBaseDbPersister.java:127) 
at blackboard.persist.impl.NewBaseDbPersister.doPersist(NewBaseDbPersister.java:75) 
at blackboard.persist.navigation.impl.CourseContentHandlersDbPersisterImpl.persist(CourseContentHandlersDbPersisterImpl.java:54) 
at blackboard.persist.navigation.impl.CourseContentHandlersDbPersisterImpl.persist(CourseContentHandlersDbPersisterImpl.java:44) 
at blackboard.apps.cx.module.ContentHandlerImModule$1.call(ContentHandlerImModule.java:93) 
at blackboard.apps.cx.module.ContentHandlerImModule$1.call(ContentHandlerImModule.java:89) 
at blackboard.db.DbUtil.callWithSavepointRollback(DbUtil.java:242) 
at blackboard.db.DbUtil.callWithSavepointRollback(DbUtil.java:197) 
at blackboard.apps.cx.module.ContentHandlerImModule.doImport(ContentHandlerImModule.java:88) 
at blackboard.apps.cx.Importer.importContentHandlers(Importer.java:1796) 
at blackboard.apps.cx.Importer.execute(Importer.java:246) at blackboard.apps.cx.Cx.invoke(Cx.java:371) 
at blackboard.apps.cx.CxQueuedOperation.execute(CxQueuedOperation.java:105) 
at blackboard.platform.queue.QueuedTaskManager.processTask(QueuedTaskManager.java:406) 
at blackboard.platform.queue.QueuedTaskManager.access$500(QueuedTaskManager.java:74) 
at blackboard.platform.queue.QueuedTaskManager$WorkerThread.run(QueuedTaskManager.java:776)

Steps to Replicate

  1. Log into System as System Admin

  2. Go to System Admin Tab > Courses > Create Course > Restore

  3. Give a destination test Course

  4. Select the archive file > Submit

  5. Go to System Admin Tab > Log > System Tasks Status

  6. Select Import/Export/Archive/Restore and monitor until the restore process is completed

Expected Behavior:
The course restore completes without error.
​Observed Behavior:
The course restore completes with error.

  1. Click the detail log drop down next to the Course that was just restored

Observed Behavior:
Error Warning: The Batch UID of the course in the provided package is already in use by another Course on the System.
A default course Batch UID based upon the destination Course ID will be used instead.
Error: A Grade Center column could not be located in the archive. The Grade Center display settings will be saved without the column. Status: The operation restore has completed.

Target Release

Will Not Fix

Did this answer your question?