Project

General

Profile

Actions

Bug #4917

open

Parsed multi-part questions aren't saved/retrieved correctly

Added by Sandeep Namilikonda almost 14 years ago. Updated almost 14 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
parser
Target version:
Start date:
03/30/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4917

Description

When the parser detects a multi-part question (or the user creates one),
it is saved without any errors popping up. But, when the assessment is re-opened
the multi-part is retrieved as separate single-part questions and the question text
was missing.


Files

593.3 (1.52 KB) 593.3 Sandeep Namilikonda, 04/06/2010 04:32 PM
751.1 (952 Bytes) 751.1 Sandeep Namilikonda, 04/06/2010 04:34 PM
752.1 (952 Bytes) 752.1 Sandeep Namilikonda, 04/06/2010 04:35 PM
Actions #1

Updated by Ryan McFall almost 14 years ago

Do you have specific documents for this bug - the original PDF, the parsed XML documents representing the questions? Do you know if the user did any editing within the parser, or was the default parsed output accepted?

Actions #2

Updated by Sandeep Namilikonda almost 14 years ago

(In reply to comment #1)

I do not have the specific documents currently available. But, the problem
seemed to appear irrespective of what document was being parsed. In fact,
when this problem was shown to me, the student (user) created a dummy multi-part
question, edited the prompt (and choices, I believe) and then, saved it without
any errors (at least, none was displayed!).
On re-opening the assessment, the multi-part item was split and the associated
question prompt for the individual single-part items was absent.

Do you have specific documents for this bug - the original PDF, the parsed XML
documents representing the questions? Do you know if the user did any editing
within the parser, or was the default parsed output accepted?

Actions #6

Updated by Sandeep Namilikonda almost 14 years ago

Could this be the source of the bug?

gui.actions.ChangeQuestionTypeAction.ChangeQuestionTypeAction() {

ln 46: // TODO: Figure out why the following doesn't work:

ln 48: question.parse(question.getOriginalText(), typeForParser);
}

After the user selects the question type to use for an item,
the above function would redirect the original text of the item
with the new type to be re-parsed.

I found the above comment in the code, which makes me wonder if
the changeQuestionType functionality is incomplete or has a bug?

Actions #7

Updated by Redmine Admin almost 11 years ago

Original Bugzilla ID was 4917

Actions

Also available in: Atom PDF