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

Batches not visible in "All Batches" page even after publishing, but direct links to them work. #1299

Closed
ruthwik-xhipment opened this issue Feb 11, 2025 · 11 comments
Labels
bug Something isn't working

Comments

@ruthwik-xhipment
Copy link

ruthwik-xhipment commented Feb 11, 2025

Describe the bug
I am able to create batches, add members, etc and publish them from both the portal and the desk, but even after publishing, the "Batches" screen showing All Batches remains blank, both for Administrator and Students.
But if I specifically go to the link of the batch, it appears without issue.

To Reproduce

  1. Go to the Desk and LMS Batch List.
  2. Here you'll see list of batches. In this case, the "Test Batch".
  3. We click on the Test Batch, show all the details and make sure it is published.
  4. We check if the same shows up on the website by clicking on "See on Website". But All Batches screen remains blank.
  5. Search for the same batch in the URL bar, and enter, now you can see the Batch details as you expect.

Expected behavior
I click on Batches below the Courses on the sidebar and it shows all the active published batches.

Screenshots

If I go through the Batches Section from the Courses screen.

Image

If I go to course link directly.

Image

@ruthwik-xhipment ruthwik-xhipment added the bug Something isn't working label Feb 11, 2025
@pateljannat
Copy link
Collaborator

@ruthwik-xhipment you are not on the latest version. Please update your site.

@ruthwik-xhipment
Copy link
Author

ruthwik-xhipment commented Feb 11, 2025

Will do that and revert back if this gets solved. Thanks!

@ruthwik-xhipment
Copy link
Author

ruthwik-xhipment commented Feb 13, 2025

Hello @pateljannat

We updated the website to the latest version, but the issue persists.

Image

batches.mp4

Here's what the console shows on the Batches page

Image

@pateljannat
Copy link
Collaborator

@ruthwik-xhipment Even though your version is 2.21.0, the UI of your batch page is not of the latest version. Is your site on Frappe Cloud or self hosted.

@ruthwik-xhipment
Copy link
Author

@pateljannat
Hello. Yes the UI doesn't seem to have changed.
It is self-hosted.

@pateljannat
Copy link
Collaborator

@ruthwik-xhipment The UI indicates that the updates are incomplete. Please try updating to the latest version once again. Could you check the batch list on Frappe School? Your batch list should look like that.

https://frappe.school/lms/batches?

@ruthwik-xhipment
Copy link
Author

ruthwik-xhipment commented Feb 20, 2025

hello @pateljannat

We updated the site, now the UI has been updated and feels much better. And yes I did go through the Batch list page on Frappe School above.

But the same issue persists.

Batches.Issue.Post.Update.2.mp4

@pateljannat
Copy link
Collaborator

@ruthwik-xhipment I would need access to your site to debug this issue. You can share the credentials to [email protected]

@pateljannat
Copy link
Collaborator

@ruthwik-xhipment Make sure the start date of the batch is a future date.

@ahmedyousef96
Copy link

in my mind , the issue because he use Administrator User , and this users have all system and website roles , including LMS Student , so he will not see the batches , can you check by create new user with no role LMS Student and try again

@ahmedyousef96
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants