Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Student view not working as expected within hidden sections. #153

Open
Syxton opened this issue Dec 2, 2024 · 6 comments
Open

Student view not working as expected within hidden sections. #153

Syxton opened this issue Dec 2, 2024 · 6 comments

Comments

@Syxton
Copy link

Syxton commented Dec 2, 2024

Describe the bug
Available but hidden items are shown while "Viewing as Student" if the items are in a hidden section.

To Reproduce
Steps to reproduce the behaviour:

  1. Make sure that Course Format setting is: Show Hidden sections as unavailable. (edit: Hidden sections are shown as not available)
  2. Create a Hidden section.
  3. Inside the hidden section create 2 activities or resources of any kind.
  4. Make one Available but hidden, and the other Hidden.
  5. View as a Student Role
  6. You will see the hidden section and the Available but hidden item. The hidden item is hidden as expected.

Expected behaviour
The Available but hidden item should also be hidden to the student view.

Screenshots
image

Versions (please complete the following information):

  • Moodle: 4.4
@gjb2048
Copy link
Collaborator

gjb2048 commented Dec 2, 2024

@Syxton

  • Specific Moodle version?
  • Specific CT version?
  • Do you get the same view when logged in as a Student as against viewing as one?
  • Does the same thing happen with the same scenario in the Topics format?

@Syxton
Copy link
Author

Syxton commented Dec 2, 2024

@gjb2048
Moodle version 4.4.4+ (Build: 20241122)
CT version: 404.1.2 2024032804
Same if logged in as student or view as student
Below tested with Custom Sections (formerly Topics format) and CT.

As teacher: Custom Sections
image

As student (teacher view as student) AND logged in as a student Custom Sections
image

As teacher: Collapsed Topics
image

As student (teacher view as student) AND logged in as a student Custom Sections
image

@gjb2048
Copy link
Collaborator

gjb2048 commented Dec 2, 2024

"Show Hidden sections as unavailable." isn't an option:

Screenshot 2024-12-02 204311

@Syxton
Copy link
Author

Syxton commented Dec 2, 2024

@gjb2048 Sorry, I worded it incorrectly. Hidden sections are shown as not available.

@gjb2048
Copy link
Collaborator

gjb2048 commented Dec 2, 2024

Can replicate in M4.5 and M4.4 need to investigate.

@gjb2048 gjb2048 added Pending investigation Pending being looked at Fixed and removed Pending investigation Pending being looked at labels Dec 2, 2024
@gjb2048
Copy link
Collaborator

gjb2048 commented Dec 4, 2024

@Syxton Fixed in development repository. Fix for M4.5 will be in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants