Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

v2.1.x: tool/src/java/org/sakaiproject/tool/assessment/bundle/AuthorImportExport.properties
v2.2.x: samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/AuthorImportExport.properties

Added import_qp=Import Pool for importing question pools

text used in importPool.jsp

v2.1.x: tool/src/java/org/sakaiproject/tool/assessment/bundle/QuestionPoolMessages.properties
v2.2.x: samigo-app/src/java/org/sakaiproject/
tool/assessment/bundle/QuestionPoolMessages.properties

removed duplicate t_addSubpool; added t_importPool

clean up and added text for poolList.jsp

v2.1.x: tool/src/webapp/jsf/questionpool/poolList.jsp
v2.2.x: samigo-app/src/webapp/jsf/questionpool/poolList.jsp

added link with action="importPool"; added new msg values

Added the Import link to the main Question Pools screen

v2.1.x: tool/src/webapp/jsf/qti/importPool.jsp
v2.2.x: samigo-app/src/webapp/jsf/qti/importPool.jsp

importPool.jsp created

The jsf file is modeled on importAssessment.jsp for user to browse and upload xml file

v2.1.x: tool/src/webapp/WEB-INF/faces-config.xml
v2.2.x: samigo-app/src/webapp/WEB-INF/faces-config.xml

Added questionPoolBean to XML Import; changed navigation path for question pool import to qti folder to be consistent with other import files

added navigation and bean for xml import

v2.1.x: tool/src/java/org/sakaiproject/tool/assessment/ui/bean/qti/XMLImportBean.java
v2.2.x: samigo-app/src/java/org/sakaiproject/tool/assessment/ui/bean/qti/XMLImportBean.java

Added importPoolFromQTI to mirror import assessment function; Added processAsPoolFile to call createImportedQuestionPool

mirrored functions to assessment calls createImportedQuestionPool

v2.1.x: component/src/java/org/sakaiproject/tool/assessment/services/qtiQTIService.java
v2.2.x: samigo-app/src/java/org/sakaiproject/
tool/assessment/services/qti/QTIService.java OR
v2.2.x: samigo-qti/src/java/org/sakaiproject/tool/assessment/services/qti/QTIService.java

Added createImportedQuestionPool to service

Calls AuthoringHelper.createImportedQuestionPool; service allows outside connectivity

v2.1.x: component/src/java/org/sakaiproject/tool/assessment/qti/helper/AuthoringHelper.java
v2.2.x: samigo-app/src/java/org/sakaiproject/tool/assessment/qti/helper/AuthoringHelper.java OR
v2.2.x: samigo-qti/src/java/org/sakaiproject/tool/assessment/qti/helper/AuthoringHelper.java

Added createImportedQuestionPool; process mirrors createImportedAssessment; calls updateQuestionPool; Exception thrown if import of more than one section is attempted
Does the question pool title need to be unique?

Reads xml map and assigns values for data entry;fields require testing;
requires additional code for removeAssessment functionality - may affect several more files;
Code is slightly different in 2.1.x as isUnique differs in QuestionPoolService.

v2.1.x: component/src/java/org/sakaiproject/tool/assessment/qti/helper/ExtractionHelper.java
v2.2.x: samigo-app/src/java/org/sakaiproject/tool/assessment/qti/helper/ExtractionHelper.java OR
v2.2.x: samigo-qti/src/java/org/sakaiproject/tool/assessment/qti/helper/ExtractionHelper.java

Added updateQuestionPool(QuestionPoolFacade questionpool,Map assessmentMap) to pull additional optional fields from an imported question pool

Note: these fields are not populated by imported assessments, but are specific to question pools and may be populated with qtimetadata when an export pool function is available in Samigo

Test Plan/Documents

For testing the import question pool process for the UC Davis instance of Sakai 2.1.x, a modified version of the Sakai tc-matrix-testsquizzes-qpools_v2-1-x.xls