Issue Details (XML | Word | Printable)

Key: SAK-14748
Type: Task Task
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: John Leasia
Reporter: Zhen Qian
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Sakai

For the set of questions to be asked during the Worksite setup, need to allow admin upload new question set, while preserving the old questions/answers/user responses

Created: 24-Oct-2008 06:33   Updated: 24-Aug-2009 09:34
Component/s: Worksite Setup
Affects Version/s: None
Fix Version/s: 2.6.0

Time Tracking:
Not Specified

Issue Links:
Relate

2.6.x Status: Merge
2.5.x Status: None
2.4.x Status: None


 Description  « Hide
Institution could require certain set of questions to be answered when user tries to create certain type of site.

However, the question set could change over time. Need to support the change so that only the current valid questions are presented, and also keep the old questions/answers set together with past user responses inside db.

- Zhen

 All   Comments   Work Log   Change History   Subversion Commits   git Commits      Sort Order: Ascending order - Click to sort in descending order
Zhen Qian added a comment - 24-Oct-2008 06:41
fixed in r53759.

Currently in order for the the configuration file questions.xml file to be recognized, it needs to be inside "config" folder within site of id "setupQuestionsAdmin".

Once the system reads the file, db is populated with the new questions, old questions will be marked "not current", but not deleted. Then the questions.xml file will be moved into a paralleled folder named "configBack".

In the future, if new questions are needed, simply drop the questions.xml file into "config" folder again, and the above steps will be performed again.

Thanks,

- Zhen

Steve Swinsburg added a comment - 22-Jan-2009 03:51
Rather than having to have a file in a site of a specific ID, can this be a file that lives somewhere else and configurable via sakai.properties? Or have the questions in the database as well?

Zhen Qian added a comment - 22-Jan-2009 06:02
Steve,

I could make the site id to be configurable with ids other than "setupQuestionsAdmin". However, without populating proper tables in db, we will need such a site for upload the question file. Certain folder structure is also expected within the site. Like the question file should sits inside a "config" folder, whose name can also be configurable.

Upload questions.xml file is an easier way for non-db-admins to create and change the question set. However, the questions can also be inserted into db in the first place, and updated afterwards to allow new question types. This approach will put the whole task into db admin's range.

Thanks,

- Zhen


Zhen Qian added a comment - 22-Jan-2009 06:15
The reame_setup_question.txt is updated with the above solution comment.

- Zhen

Matthew Jones added a comment - 24-Aug-2009 08:23
This is in 2.6.0