Forum archive 2000-2006

Blake Thornton - Feedback Email Problems

Blake Thornton - Feedback Email Problems

by Arnold Pizer -
Number of replies: 0
inactiveTopicFeedback Email Problems topic started 9/9/2003; 8:38:41 AM
last post 9/9/2003; 9:59:40 PM
userBlake Thornton - Feedback Email Problems  blueArrow
9/9/2003; 8:38:41 AM (reads: 1239, responses: 5)
When feedback is sent from the problem page, pasted below is a sample of what is sent.

If you look at it, it looks fine. But what is missing is the set number. Instead, it says that the set number is "setNumber". I assume that this variable is being omitted somewhere in the perl script, but I'm not sure which script to look at.

(Not a major problem, but it is a bit annoying.)

thanks! Blake

------------------------------------------------------


From: blake@math.wustl.edu (Blake Thornton) To: webwork@math.wustl.edu, Reply-To: blake@math.wustl.edu, webwork@math.wustl.edu, roberts@math.wustl.edu X-Remote-Host: 67.66.145.9 (67.66.145.9) Subject: WeBWorK Feedback from math127fall2003/blake

User: blake Name: Blake Thornton Student ID: 9356301 Course: math127fall2003 Section: Recitation: PSVN: 52998 Set number: setNumber Problem number: 7 Mode: HTML_dpng Key: uUFnZCWpOwUShaAb^kMLcex6/UNw!maYkgMeAZRG

Allegedly from: blake@math.wustl.edu Comments: ----


Just testing

<| Post or View Comments |>


userBlake Thornton - Re: Feedback Email Problems  blueArrow
9/9/2003; 8:40:45 AM (reads: 1423, responses: 0)
Sorry, the formatting got messed up, here is another attempt at pasting in the email:

User: blake

Name: Blake Thornton

Student ID: 9356301

Course: math127fall2003

Section:

Recitation:

PSVN: 52998

Set number: setNumber

Problem number: 7

Mode: HTML_dpng

Key: uUFnZCWpOwUShaAb^kMLcex6/UNw!maYkgMeAZRG

Allegedly from: blake@math.wustl.edu

Comments:

----


Just testing

<| Post or View Comments |>


userArnold K. Pizer - Re: Feedback Email Problems  blueArrow
9/9/2003; 10:57:15 AM (reads: 1416, responses: 0)

Hi Blake,

Are you sure you do not have a set called "setNumber"? What version of WeBWorK are you using? Here is an example form WeBWorK 1.9 that works OK.

User:           apizer
Name:           ARNOLD PIZER
Student ID:     123456789
Course:         demoCourse_apizer
Section:        TA
Recitation:    
PSVN:           662472
Set number:     Derivatives2Formulas
Problem number: 7
Mode:           HTML_dpng
Key:            OM44AyARTNMuaCKDOwcMMLtTzUGlXnUhIw!kVhxR


 

Comments:
-------
test1
-------
 
 
Arnie

<| Post or View Comments |>


userBlake Thornton - Re: Feedback Email Problems  blueArrow
9/9/2003; 5:16:46 PM (reads: 1443, responses: 0)

Yes, I have tried it several times and each time I get "setNumber" where I am expecting "set6" (for example).  Somehow I'm thinking that the variable is not being set where it should be or something.  In fact, if I view source on the feedback form, I can see:

<input type="hidden" name="setnum" value="setNumber" /><input type="hidden" name="probNum" value="1" />

which tells me that some of the variables are getting set correctly and others are not.

We are using webwork v1.8.

Here is the email I just received (and I sent it from feedback from set6):

User:           blake
Name:           Blake Thornton
Student ID:     9356301
Course:         math128fall2003-Dev
Section:
Recitation:
PSVN:           58162
Set number:     setNumber
Problem number: 1
Mode:           HTML_dpng
Key:            OEJuE6wv3NJkad*UkEUWw3jd!Qq3/kpr2tZ0Ioqw

Allegedly from: blake@math.wustl.edu
Comments:
-------
Testing, please ignore
-------

<| Post or View Comments |>


userArnold K. Pizer - Re: Feedback Email Problems  blueArrow
9/9/2003; 8:26:31 PM (reads: 1424, responses: 0)

Hi Blake,

OK, now I remember.  This was a bug in WW 1.8.  It was fixed in CVS version 1.9 of  HTMLglue.pl  on Mon Jan 13 18:24:50 2003 UTC.  The current CVS version is 1.14.

If you want to fix it yourself, repace line 97 of .../webwork/system/scripts/HTMLglue.pl

  $cgi->hidden(-name=>'setnum', -value=>"setNumber"),

by

  $cgi->hidden(-name=>'setnum', -value=>"$setNumber"),

 

I.e.  add a $ to make $setNumber a variable.

 

Arnie

<| Post or View Comments |>


userBlake Thornton - Re: Feedback Email Problems  blueArrow
9/9/2003; 9:59:40 PM (reads: 1409, responses: 0)
Yes! That is exactly what I was looking for! Works perfectly now. thanks!

Blake

<| Post or View Comments |>