Fresh installation of Drupal 7.4 and Quiz 7.x-4.xdev.
I could add a new mcq but when trying to add a new quiz, 'Text format field is required.' is displayed.
The log entry shows 'Theme key "node_form" not found.'

CommentFileSizeAuthor
#8 resultopion_update_fix_1218028_8.patch1.33 KBszantog

Comments

nirvanajyothi’s picture

The message does not go away on selecting any of the text formats i.e., Filtered HTML, Full HTML or Plain text.

sivaji_ganesh_jojodae’s picture

I know why it is happening, I will fix it tomorrow. Check the "Pass/fail options" and "result comments" in quiz create/edit form page, there you need to choose text format to prevent this error message.

nirvanajyothi’s picture

ok. Works now.

sivaji_ganesh_jojodae’s picture

Status: Active » Fixed

I committed some fixes for this and couldn't reproduce it lately.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

dinis’s picture

Component: Code - Quiz module » Code - Import/Export

Fresh install of the latest dev version gets this bug again.

Creating the quiz was fine, but trying to edit it brings up this error.

Also each "Display text for the result" has it's text erased and replaced with single letter "C".

Hope this helps,
Dani

dinis’s picture

Status: Closed (fixed) » Active
szantog’s picture

Title: Cannot save new Quiz. Keeps displaying 'Text format field is required.' » Quiz resultoption update error during a question is saving
Component: Code - Import/Export » Code - Quiz core
Priority: Normal » Major
Status: Active » Needs review
StatusFileSize
new1.33 KB

The problem is, when a question is updated, the parent quiz node is updated too. When a quiz node is saved, the updated resultoptions values is based on form values, but during question saving quiz node form doesn't exist. The behaviour is same, when a quiz node is saved on the manage questions page.
Because of this, the revision system in quiz complete unusable.

sivaji_ganesh_jojodae’s picture

Status: Needs review » Fixed

This is fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 3fae171 on 7.x-4.x, 7.x-5.x by sivaji:
    - #1218028 Cannot save new Quiz. Keeps displaying 'Text format field is...
  • Commit 0b20622 on 7.x-4.x, 7.x-5.x by sivaji:
    - Incremental fix to #1218028 Cannot save new Quiz. Keeps displaying '...
  • Commit 785a53d on 7.x-4.x, 7.x-5.x by sivaji:
    - Another fix for #1218028 Cannot save new Quiz. Keeps displaying 'Text...

  • Commit 3fae171 on 7.x-4.x, 7.x-5.x, quiz-pages by sivaji:
    - #1218028 Cannot save new Quiz. Keeps displaying 'Text format field is...
  • Commit 0b20622 on 7.x-4.x, 7.x-5.x, quiz-pages by sivaji:
    - Incremental fix to #1218028 Cannot save new Quiz. Keeps displaying '...
  • Commit 785a53d on 7.x-4.x, 7.x-5.x, quiz-pages by sivaji:
    - Another fix for #1218028 Cannot save new Quiz. Keeps displaying 'Text...

  • Commit 3fae171 on 7.x-4.x, 7.x-5.x, quiz-pages, 2269219 by sivaji:
    - #1218028 Cannot save new Quiz. Keeps displaying 'Text format field is...
  • Commit 0b20622 on 7.x-4.x, 7.x-5.x, quiz-pages, 2269219 by sivaji:
    - Incremental fix to #1218028 Cannot save new Quiz. Keeps displaying '...
  • Commit 785a53d on 7.x-4.x, 7.x-5.x, quiz-pages, 2269219 by sivaji:
    - Another fix for #1218028 Cannot save new Quiz. Keeps displaying 'Text...

  • Commit 3fae171 on 7.x-4.x, 7.x-5.x, 2269219 by sivaji:
    - #1218028 Cannot save new Quiz. Keeps displaying 'Text format field is...
  • Commit 0b20622 on 7.x-4.x, 7.x-5.x, 2269219 by sivaji:
    - Incremental fix to #1218028 Cannot save new Quiz. Keeps displaying '...
  • Commit 785a53d on 7.x-4.x, 7.x-5.x, 2269219 by sivaji:
    - Another fix for #1218028 Cannot save new Quiz. Keeps displaying 'Text...