Comments (4)
Hi @Silidrone , As far as I understand, your course default mode is not set to 'Honor'.
Can u try below settings in a patch named openedx-common-settings
through a plugin and let me know if it works. I'll look further into the issue to find a proper solution until then.
COURSE_MODE_DEFAULTS['name'] = "Honor"
COURSE_MODE_DEFAULTS['slug'] = "honor"
from tutor-discovery.
I created a plugin like this:
from tutor import hooks
hooks.Filters.ENV_PATCHES.add_items([
(
"openedx-common-settings",
"COURSE_MODE_DEFAULTS['name'] = 'Honor'"
),
(
"openedx-common-settings",
"COURSE_MODE_DEFAULTS['slug'] = 'honor'"
),
])
I enabled it, ran tutor local launch
and verified it is enabled, and it didnt solve the issue. I found out what was the issue though. Apparently, the type_id (this type_id btw, when copied using refresh_metadata always sets the type to EMPTY) of the course_metadata_courserun is not even important, as the type_legacy @Property is taken from the CourseRun model, which only uses the associated seat. Now, I didnt have any seat. When I added a seat of type honor for the corresponding course run, everything works. But what if I don't want to have seats? Do I have to add a seat for each course run that I will use to complete in my programs?
from tutor-discovery.
Hi @Silidrone,
Yes you are right, seats are required to complete the courses/programs and seats are created in ecommerce for the courses in programs. You have to use ecommerce service for this.
from tutor-discovery.
It looks like this is not an issue with tutor-ecommerce, right? If so, please close this issue.
from tutor-discovery.
Related Issues (20)
- Error in README.rst on Debugging Instructions
- TypeError at /jsi18n/ HOT 1
- Getting 'Connection refused' error after running tutor local quickstart HOT 2
- ElasticSearch scheme hardcoded to "http" HOT 1
- Static assets not loading HOT 1
- Changes from Admin panel are not processed HOT 3
- Incorrect Partner API URLs in tutor local environment HOT 2
- discovery-job - django.db.utils.IntegrityError: (1062, "Duplicate entry '1' for key 'site_id'") HOT 1
- use LMS_BASE_URL instead of LMS_HOST HOT 1
- using this plugin with "tutor dev init" HOT 2
- k8s compatible HOT 5
- Error on running cache_programs command. HOT 8
- "Explore programs" incorrectly redirects to localhost:8080 in dev mode HOT 3
- Add ability to pull discovery repo from tutor config HOT 1
- Program banner image path points to localhost:18381
- Upgrade to Quince
- How can I export programs? HOT 1
- tutor-discovery codebase Python 3.12 upgrade HOT 2
- Media files not served by Discovery HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tutor-discovery.