You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issues involves setting up the database that stores all the errors raised from the frontend and backend during runtime.
Description and outcomes
Add a new sqlite database in sqlite_db_names.py, with the name errors, to store all the errors that are traced from the frontend and the backend.
Create an app called errorsreports to handle all error reporting related logic in kolibri/core/. Remember to add the new app to the list of INSTALLED_APPS.
Add a database router for the errors database, and implement the database's routing behavior in kolibri.core.errors.models.ErrorsRouter.
All error related reads and writes, regardless of the application they originate from, should be routed to the errorsreports app database.
Run a migration to create the new sqlite database.
Acceptance Criteria
An app called errorsreports has been created in kolibri/core/
Database migration has been executed and a new database errors.sqlite3 has been created in KOLIBRI_HOME, in the default or specified location.
All error related reads and writes, regardless of the application they originate from, are routed to the errorsreports app database.
Assumptions and Dependencies
NA
Scope
This shall cover:
Creating the errors app
Implementing the routing behavior for the errors database
Running the migration to create the new database
It doesn’t include;
Implementing the model that will store the reported errors
Overview
This issues involves setting up the database that stores all the errors raised from the frontend and backend during runtime.
Description and outcomes
errors
, to store all the errors that are traced from the frontend and the backend.errorsreports
to handle all error reporting related logic inkolibri/core/
. Remember to add the new app to the list ofINSTALLED_APPS
.errors
database, and implement the database's routing behavior inkolibri.core.errors.models.ErrorsRouter
.errorsreports
app database.Acceptance Criteria
errorsreports
has been created inkolibri/core/
errors.sqlite3
has been created inKOLIBRI_HOME
, in the default or specified location.errorsreports
app database.Assumptions and Dependencies
NA
Scope
This shall cover:
It doesn’t include;
Accessibility Requirements
NA
Resources
The text was updated successfully, but these errors were encountered: