500 error when trying to edit details or copy the lesson, a.k.a. 'adhoclearnersgroup' woes
See original GitHub issueObserved behavior
Seems impossible to edit lesson details or copy it elsewhere. All resources are present on the facility, and the lesson is assigned to entire class.
Expected behavior
Ability to edit & copy the lesson.
User-facing consequences
Troubled coach.
Errors and logs
Uncaught (in promise) Error: Request failed with status code 500
createError createError.js:16
settle settle.js:17
handleLoad xhr.js:61
Logs
debug-last-day.zip kolibri.zip
Steps to reproduce
Same 500 error in both cases:
- Open an existing lesson in the Plan tab
- Click to open the Options and select Edit details
OR
- Select Copy and try to copy the lesson in another class
Context
- Kolibri version: current 0.14.x release branch
- Operating system: Ubuntu 18.04
- Browser: Firefox
cc @rtibbles
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
How to Fix a 500 Internal Server Error - Lifewire
Learn about the 500 Internal Server Error (aka HTTP 500 error), a generic error suggesting a problem with the website's server.
Read more >How to Clear Browser Cookies to Resolve “Error 500
If you are receiving an “Error 500 – Internal Server Error” message while trying to log into Canvas, you will need to clear...
Read more >Error 500 when I try to Edit a product - WordPress.org
When this plugin is active i can't edit woocommerce's product. I have 2.14 version installed. The problem was appeared before the las update ......
Read more >How to Fix the 500 Internal Server Error in WordPress (10 Tips)
A 500 internal server error on your WordPress website can be caused by many factors, but there are also many ways to fix...
Read more >How to Fix the 500 Internal Server Error in ... - ThemeIsle
1. Turn on debugging - You can turn debugging on by editing your site’s wp-config.php file: once you’ve accessed this file, search for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In examining the database that produced this error, what appears to have happened is that the
tree_id
value of the Facility object in question has been set to3
, while thetree_id
value of all its descendant collections is set to1
.I am not entirely sure what would have caused this, but this database has engaged in syncing, which seems like the likeliest candidate.
Gotcha, thanks for clarifying! 🤞
I’ll reopen if I manage to step into this mudhole again 😛