Common Cartridge Package with Basic LTI Links fail to Import if it does not Contain the Optional < blti:vendor > tags




 
Common Cartridge Package with Basic LTI Links fail to Import if it does not Contain the Optional < blti:vendor > tags

Date Published: Apr 11,2025 Category: Product:Blackboard_Learn_SaaS   Article No.: 000057029

Producto: Learn SaaS

Versión: SaaS

Descripción: Common cartridge package with basic LTI links fail to import and present an error if it does not contain the optional < blti:vendor > tags.

Pasos para repetir:

  1. Enter any course
  2. Control Panel > packages and utilities > import package/view logs > import package
  3. Upload package

Observed Behavior:
Import fails with an error

 
Síntomas:
Aug 26, 2019 1:41:20 PM - Error
An error occurred while importing the menu.
For more information, see the detailed log.
Aug 26, 2019 1:41:20 PM - Debug
java.lang.NullPointerException
at blackboard.apps.cx.cc.ccimport.parser.ContentRootContentAreaParser.setCommonContentAttributes(ContentRootContentAreaParser.java:295)
at blackboard.apps.cx.cc.ccimport.parser.ContentRootContentAreaParser.processResourceContentItem(ContentRootContentAreaParser.java:264)
at blackboard.apps.cx.cc.ccimport.parser.ContentRootContentAreaParser.processItem(ContentRootContentAreaParser.java:125)
at blackboard.apps.cx.cc.ccimport.parser.ContentRootContentAreaParser.processContentItem(ContentRootContentAreaParser.java:194)
at blackboard.apps.cx.cc.ccimport.parser.ContentRootContentAreaParser.processFolderItem(ContentRootContentAreaParser.java:154)
at blackboard.apps.cx.cc.ccimport.parser.ContentRootContentAreaParser.processItem(ContentRootContentAreaParser.java:133)
at blackboard.apps.cx.cc.ccimport.parser.ContentRootContentAreaParser.processOrganizerPageContents(ContentRootContentAreaParser.java:98)
at blackboard.apps.cx.cc.ccimport.parser.ContentRootContentAreaParser.initializeContentQueue(ContentRootContentAreaParser.java:70)
at blackboard.apps.cx.cc.ccimport.parser.TocParser.addContentAreaParser(TocParser.java:71)
at blackboard.apps.cx.cc.ccimport.parser.TocParser.initContentAreaParsers(TocParser.java:51)
at blackboard.apps.cx.cc.ccimport.parser.TocParser.getTocQueue(TocParser.java:86)
at blackboard.apps.cx.cc.CCPackageReader.getNextCourseToc(CCPackageReader.java:292)
at blackboard.apps.cx.papi.CxPackage.getNextCourseToc(CxPackage.java:561)
at blackboard.apps.cx.Importer.importCourseTocs(Importer.java:1117)
at blackboard.apps.cx.Importer.execute(Importer.java:257)
at blackboard.apps.cx.Cx.invoke(Cx.java:371)
at blackboard.apps.cx.BaseCxQueuedOperation.execute(BaseCxQueuedOperation.java:105)
at blackboard.platform.queue.QueuedTaskManager.processTask(QueuedTaskManager.java:459)
at blackboard.platform.queue.QueuedTaskManager.access$500(QueuedTaskManager.java:76)
at blackboard.platform.queue.QueuedTaskManager$WorkerThread.run(QueuedTaskManager.java:890)


Resolución/Solución alternativa:
  1. Unzip the original package (rename to .zip)
  2. Open each xml file in notepad
  3. For any that start with cartridge_basiclti_link and don't already include <blti:vendor>, add the following:
<blti:vendor>
    <lticp:code>a</lticp:code>
    <lticp:name>a</lticp:name>
    <lticp:description>a</lticp:description>
</blti:vendor>
  1. Save changes, re-zip everything and rename back to .XXXX (original name of file) and it should import without error


Versión de destino: Will Not Fix
Parche disponible: No