-
-
Notifications
You must be signed in to change notification settings - Fork 92
Description
A teacher reported that in a toggle problem u3_muc_wc9 in csawesome v1, they were getting the following error:
RunestoneTests.java:2: error: extraneous semicolon
import org.junit.*;;
I removed all the double ;; in csawesome long ago, so I thought maybe the wrong problem was somehow getting pulled in. I was able to reproduce this problem by running the next to last problem on https://runestone.academy/ns/books/published/csawesome/Unit3-If-Statements/topic-3-9-practice-mixed-code-toggle.html?mode=browsing.
I searched for the problem u3_muc_wc9 in the Assignment Builder. The one in the book does not have the double ;;. But when I searched in all books, it found one that did have it. I'm not sure which book or why this was getting pulled into the toggle problem. The toggle question should pull in the one in the current book, not one from other books. This was a bug long ago with toggle problems, but I thought it had been fixed.
So, then I flagged the u3_muc_wc9 with the double ;; and went to the Editorial page (https://runestone.academy/runestone/admin/manage_exercises) and tried to edit it, but when I click on Generate HTML, it doesn't respond. It has the following errors in the console.
Some of the other exercises that I tried to edit and print out some error messages when I click on Generate HTML.
I think these are all RST, but I suppose there's no way to edit a PreTeXt one, so that might be a feature request too.
Sorry about the convoluted report here. I think there is more than 1 issue, but the easiest fix might be to delete all the import org.junit.*;; in the problems in the Runestone database (probably not ;; because sometimes there is >; with ArrayLists).
