Closed bree-z closed 3 years ago
Is this on the production site or the test site? This particular piece of metadata has been juggled a number of times with the Rederly changes.
This is on https://hardg.com/webwork/.
See #195
@drdrew42 Here's what I'm seeing coming from http://146.111.135.122/webwork2/WW-Dev/Polynomials_-_Division/1/
[webwork_user] => studentB
[problem_set] => Polynomials_-_Division
[problem_number] => 1
[problem_id] =>
[problem_text] =>
[course] =>
[emailableURL] => http://146.111.135.122/webwork2/WW-Dev/Polynomials_-_Division/1/?effectiveUser=studentB
[randomSeed] => 1542
[notifyAddresses] => =?UTF-8?B?QWRtaW5pc3RyYXRvcg==?= ;=?UTF-8?B?UHJvZi4gSW5zdHJ1Y3Rvcg==?= ;=?UTF-8?B?VG9kZCBTdGFtYmF1Z2g=?= ;=?UTF-8?B?Qm9vbmUgR29yZ2Vz?=
[studentName] => Student B
course
is empty. webworkqa is actually looking for courseId
, but this is not present at all. According to https://github.com/openwebwork/webwork2/pull/1212, courseId
is the canonical source. Could you make sure that the dev site is running the correct version of WW? Or if I'm looking at the wrong WW dev site, can someone tell me where the right one is?
It might be the case that the dev server needs to be pulled up to the latest release… I’ll check at 6pm when my class ends – thanks for the heads up!
Okay, it turns out that somehow I botched that pull request and updated the wrong subroutine. (There is an ongoing effort to de-duplicate the WeBWorK code base -- but it's everywhere...) The actual change needs to be made elsewhere, which I've done for the dev server. I'll put in a new PR as a hotfix and let the dev team know this is relevant to the public release of the Q&A plugin.
This looks fine now -- I see both the course and the problem set.
@boonebgorges I just have one question about the filters - I only see two dropdowns, for course and problem set, but I assume this is just because there are no sections. If that sounds correct I think we can close this.
Thanks!
That's correct - there's no concept of Sections anymore, after #195. Thanks for testing!
Only the question name appears at the bottom of the question card, but not the course or section - see screenshot below.
The course and section metadata appears for some older questions (May 2020), but not for questions posted in October 2020 or currently.