GithubHelp home page GithubHelp logo

Comments (4)

Faraz32123 avatar Faraz32123 commented on September 16, 2024 1

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.

Silidrone avatar Silidrone commented on September 16, 2024 1

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.

Faraz32123 avatar Faraz32123 commented on September 16, 2024 1

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.

regisb avatar regisb commented on September 16, 2024 1

It looks like this is not an issue with tutor-ecommerce, right? If so, please close this issue.

from tutor-discovery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.