Closed (fixed)
Project:
Course
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Aug 2015 at 21:22 UTC
Updated:
31 Dec 2015 at 18:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
djdevinDo you have more than one type of webform by any chance?
Comment #3
lu_smithcon commentedI do have webform enabled for basic page content type, but it is not configured as a course type or course content.
Comment #4
lu_smithcon commentedSo, should there be an option available to select a node type (since it is asking)? -or- Don't enable webform for any other content type.
Comment #5
djdevinI actually can't reproduce this, even with two webform content types existing in the system. I tried new webforms, existing webforms, etc.
I tried with the most recent dev which did have a couple form changes in it. Can you provide more specific steps to reproduce?
Comment #6
lu_smithcon commentedI can't seem to reproduce it either though I also can't get rid of it. I created it by selecting webform from the select list on the course-outline page and then adding questions (after saving the outline). I was using 7.x-1.6 at that time. I then updated to 7.x-1.6+33-dev and the error started. In an attempt to get rid of it, I disabled webform availability in the other content type, but that didn't work. I created another webform in the course the same way I created the 1st one and I do not get an error msg with that one.
Comment #7
lu_smithcon commentedNow I am getting the error when trying to edit settings of payment course object in addition to the webform course object; and I'm getting another error asking for a numeric value for both the low and high grade range when I tried to edit the settings for the payment object. Can't edit or delete either course object.
Comment #8
djdevinI think this is an issue with old data and Course is expecting the data to be set up correctly. Let me investigate.
Comment #9
lu_smithcon commentedThanks. Don't know if this is a related issue but since it is asking for the grade information in the payment object, it might be worth noting there is no grade field in the course object config of the new course quiz object nor an edit questions/add questions link for it in the course outline (in a new course created after the update to the dev version). As a result (assumed) of not having a grade field in the new course quiz object, I cannot select a grade based access for the object following it (the quiz object is not available in the select list). I added questions through the quiz node (manage questions) and the quiz seems to function properly in the new course. I can create a new issue for this if you prefer.
Comment #10
lu_smithcon commentedA new message (Notice: Undefined index: active in course_determine_context() (line 2623 of /drupal/sites/all/modules/course/course.module) when I attempt to edit the webform that started all of this (haven't gotten it before). Got this one too, Notice: Undefined property: stdClass::$webform in CourseObjectWebform->getWarnings() (line 12 of /drupal/sites/all/modules/course/modules/course_webform/course_webform.classes.inc). Maybe they will help.
Comment #11
djdevinComment #12
djdevinComment #16
djdevin