2.2.0 Release Notes

2.2.0 Release Notes

Click to see Bugs/Tasks resolved in 2.2.0

Click to see Samigo Known Issues 

Important:  These critical/major bugs are resolved after 2.2.0 was released.  They will be merged in to 2.2.x shortly.  If you are not planning on running 2.2.x, you can get the revisions as documented in JIRA.

SAK-5500
SAK-5430
SAK-5504
SAK-5265
SAK-5591

Configuration: 

sakai.properties settings: 

For File Upload and Audio Recording questions in Samigo, answers are saved to DB as a blob by default.  If you want to save answers to files, you can override this default by adding the following in your sakai.properties file. 

# ** Samigo File Upload question type settings **
# the following default settings
# com.corejsf.UploadFilter.repositoryPath,
# com.corejsf.UploadFilter.sizeThreshold,
# com.corejsf.UploadFilter.sizeMax and
# com.corejsf.UploadFilter.saveMediaToDb in Samigo web.xml
# can be overidden with the following settings in sakai.properties

samigo.answerUploadRepositoryPath=/sakaitmp/
samigo.sizeThreshold=512
samigo.sizeMax=20480
samigo.saveMediaToDb=false

Please make sure that Sakai has write privilege to the directory specified in samigo.answerUploadRepositoryPath.

When saveToDB is true, SAM_MEDIA_T.MEDIA must be a blob or equivalent to work.  If you're running Oracle and using auto.ddl to create tables, you should check the data type of the "MEDIA" column in the SAM_MEDIA_T table. Hibernate tries to choose the right data type for this field, but has a habit of choosing the wrong one for Oracle. The correct types for each database are:

  • HSQLDB --> varbinary
  • Oracle --> blob
  • MySQL --> longblob

Audio recording questions (new in 2.2):

Audio recording questions are turned on by default.  You can turn it off by modifying sam/samigo-app/src/webapp/WEB-INF/faceconfig.xml, and changing the showAudio to false.

    <managed-property>
      <property-name>showAudio</property-name>
      <value>false</value>      
    </managed-property>

Audio recording questions uses an Audio Recording Applet (Based on Sun's Java Sound API) to record.  Because the default JRE installation doesn't allow Java to record audio from your computer's sound card, you may have to modify your java.policy file and add the following permissions:

      permission javax.sound.sampled.AudioPermission "record";
      permission java.io.FilePermission "<<ALL FILES>>", "read, write";
      permission java.util.PropertyPermission "user.dir", "read";

Audio recording uses the same storage configuration as File Upload questions, so they can be configured to be stored either in DB or files. 

Temporary file location for QTI Assessment Import

Currently, by default QTI Assessment Import also uses the com.corejsf.UploadFilter.repositoryPath parameter in web.xml as the location to store a temporary file.  These temporary files are removed after the import is completed.  com.corejsf.UploadFilter.repositoryPath is set to /tmp by default.  This again can be overridden in sakai.properties the same way as in File Upload/Audio recording questions.   Please make sure that Sakai has write privilege to this directory.

For example, 

    samigo.answerUploadRepositoryPath=/sakaitmp/

Conversion from 2.1.2 to 2.2

    If you are upgrading from Samigo 2.1.2 to 2.2, after you finish running the conversion script,  please be sure to turn off autoddl by setting autoddl=false in your sakai.properties file.  There is a known issue with autoddl=true which causes duplicate indexes to be created.

The following statement was left out in the 2.1.2 to 2.2 conversion script (see JIRA-5595). Please make sure to run them as part of your DB upgrade.

oracle:
alter table SAM_MEDIA_T add (DURATION varchar(36));

mysql
alter table SAM_MEDIA_T add column DURATION varchar(36);

hsqldb:
alter table SAM_MEDIA_T add column (DURATION varchar(36));