Problem/Motivation

Course status can be created by other APIs and even existing one can grant access to a course without a need for a user to be a member of the course or its class group. Also the user "My courses" tab shows course statuses really so before a status exists it doesn't show the course.

Steps to reproduce

Proposed resolution

Training manager initializeCourse() should allow initialization without setting the last activity and started fields, those fields should be set (if empty) by a lesson handler when an activity form is actually displayed.

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork lms-3634380

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

graber created an issue. See original summary.

graber’s picture

Title: Show course start link as "start" and not "continue" on courses with existing status and no activity » Allow course initialization as new

  • graber committed e8f490f1 on 1.2.x
    #3634380: Allow new course initialization from third party.
    
graber’s picture

Status: Active » Fixed

Also included D12 deprecation fixes.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.