Closed michaelha closed 5 years ago
Hi Michael, Is it the case that the course is still saved as "Closed" (and not "Open") or is it simply the case that you can't see the course on the home screen? If the latter, that's probably a caching issue.
Daniel
On Thu, Apr 5, 2018 at 8:55 AM, Michael Ha notifications@github.com wrote:
I'm unable to make a course public by changing to course visibility. Here's a screenshot. [image: image] https://user-images.githubusercontent.com/213290/38376831-587159b6-38ae-11e8-8003-0345d3771b1e.png
Steps to reproduce:
- Create a new course (e.g. MATH123) and the course appears on the homepage under section "Not Enrolled"
- Go to the Edit screen of the newly created course (e.g. https://annotate2.arts.ubc.ca/node/101/edit https://annotate2.arts.ubc.ca/node/101/edit)
- Change Course Visibility to "Closed: Not visible to students. I will edit it later to make it visible."
- Hit "Save" button
- Return to Edit screen again
- Change Course Visibility to "Open: Students can find it and join. I will authenticate their access."
- Navigate to the homepage (i.e. https://annotate2.arts.ubc.ca/)
- Check courses under the title "Not Enrolled" and I cannot find the course "MATH123"
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PoeticMediaLab/LacunaStories/issues/217, or mute the thread https://github.com/notifications/unsubscribe-auth/AIselnz5Je1sQaESeMiq98NS7YAHLqACks5tlj5YgaJpZM4TIt1m .
@dabush It's the latter. Any idea where to troubleshoot caching issue? I'm running this site using Drupal 7.58 on a RHEL 7 VM with PHP 5.4.16. There's no PHP and opcode caching.
In my experience this is usually the result of browser caching. Try opening the page in a new browser or an incognito window and see if you can see the course then. If not, it's possible that the View is being cached (although caching should be turned off on this view in theory) and you can flush the site caches to get it to show up.
As a general rule, I recommend not setting courses to "Closed" for this reason- there's really no security risk since students will have to be enrolled manually to get inside courses anyway. And once it's set to Closed you can run into caching issues
I was able to reproduce the error using incognito mode in Chrome Version 65.0.3325.181 (Official Build) (64-bit).
The reason why this is set to "Closed" and then "Open" is for instructor to drafting material in "Closed" mode before releasing the course to public for student enrollment.
Okay, so it sounds like it's not a browser caching problem; and I just went to the url above and only saw one course (Millenials in Love- I take it that's not the course?). So the next thing to try is to flush the cache- you can do this through drush or from the admin menu: https://www.drupal.org/docs/7/administering-drupal-7-site/clearing-or-rebuilding-drupals-cache
On Thu, Apr 5, 2018 at 10:04 AM, Michael Ha notifications@github.com wrote:
I was able to reproduce the error using incognito mode in Chrome Version 65.0.3325.181 (Official Build) (64-bit).
The reason why this is set to "Closed" and then "Open" is for instructor to drafting material in "Closed" mode before releasing the course to public for student enrollment.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PoeticMediaLab/LacunaStories/issues/217#issuecomment-379006613, or mute the thread https://github.com/notifications/unsubscribe-auth/AIselpyYWkrBFIwv_qKn2qUsHWMgVRfEks5tlk6UgaJpZM4TIt1m .
Thanks for the suggestion @dabush
I followed the link and still no success after trying the following ways to clear the cache: "Clearing the cache" - from admin UI "Drush" "Run update.php" "A PHP file to clear caches and rebuild the routing tables"
I'm still trying to resolve this issue. Any help would be greatly appreciated.
Hi @michaelha : at this point you could try to resolve this caching issue (not sure what's causing it) or you could create a new course and set it to open. Have you added many materials to the course that is not visible? If you haven't, it might be worth simply creating a new one and deleting the old one. The new one will definitely show up.
An alternate option might be to delete that entire field for setting courses private / public. That's probably coming in the next release anyway just to streamline the process a little. There's probably 1-2 other things that change would touch, but if it's something you're interested in, we can document the steps or quickly update the latest version to include that change.
Thanks for getting back @mwidner
An alternate option might be to delete that entire field for setting courses private / public
Is that something I can do from the admin side or are you thinking code level changes?
We already have some content populated from instructor and help of instructional designer so it'd be preferred that we don't have to redo much of the work.
When is the next release date? I'd be interested to get the latest update when it's available.
Hi Michael, You can delete that field by (from the admin menu) going to Structure -> Content types -> Course -> Manage fields -> and deleting the field "Course Visibility." Then your Lacuna installation will no longer filter by whether a course is open or closed and all of them should show up by default.
Daniel
On Mon, Apr 30, 2018 at 9:51 AM, Michael Ha notifications@github.com wrote:
Thanks for getting back @mwidner https://github.com/mwidner
An alternate option might be to delete that entire field for setting courses private / public Is that something I can do from the admin side or are you thinking code level changes?
We already have some content populated from instructor and help of instructional designer so it'd be preferred that we don't have to redo much of the work.
When is the next release date? I'd be interested to get the latest update when it's available.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PoeticMediaLab/LacunaStories/issues/217#issuecomment-385459041, or mute the thread https://github.com/notifications/unsubscribe-auth/AIselq41LIMqoSGmZe16NMyfqYibuOZ6ks5tt0EugaJpZM4TIt1m .
Thanks for the instruction. I tried the steps but don't see the "Manage fields" menu.
Still trying to resolve this. Any ideas?
It sounds like you don't have the appropriate permission. Under people -> permission, the permissions for "Field" should look like this:
It should just be a matter of giving yourself this permission
I'm unable to make a course public by changing to course visibility. Here's a screenshot.![image](https://user-images.githubusercontent.com/213290/38376831-587159b6-38ae-11e8-8003-0345d3771b1e.png)
Steps to reproduce: