it is not possible to create an activity

Created on 24 October 2024, 23 days ago

Problem/Motivation

After updating to 3.2.7 and also after a clean installation via composer, editing activities in the learning path does not work. It is not possible to add new activities or edit existing activities.
Appearance differs from that described in the documentation
https://opigno.atlassian.net/wiki/spaces/OUM3/pages/2802944295/Create+an...

Learning Path Module Version 3.2.8

Steps to reproduce

install or update via composer

๐Ÿ› Bug report
Status

Needs work

Version

3.2

Component

User interface

Created by

๐Ÿ‡ท๐Ÿ‡บRussia rodnamoc

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @rodnamoc
  • ๐Ÿ‡ท๐Ÿ‡บRussia rodnamoc
  • ๐Ÿ‡ท๐Ÿ‡บRussia rodnamoc
  • ๐Ÿ‡จ๐Ÿ‡ฆCanada joelseguin Ontario, Canada

    I can confirm this issue. It is not possible to update or add new activities following an upgrade from Opigno LMS 3.1.0.

    The other sections within the course (Description, Modules) seem to load fine.

    Here is a screenshot showing a javascript error when navigating to the Activities page.

  • ๐Ÿ‡น๐Ÿ‡ฟTanzania msanzya Tanzania

    I've just installed Opigno 3.2.7, and while most things seem to work fine, I'm hitting a blank screen on the training path "add activity" step. It's strange because I keep seeing comments from people following this thread closely and eager for new releases, which makes me wonder if theyโ€™ve managed to get a fully functional system running. Has anyone else run into this issue, or are there additional steps I missed?

    Between this and the discussion around dev releases, Iโ€™m beginning to feel like a little magic might be needed to get this working consistently. I'm considering trying older versions as well, but any advice would be appreciated if thereโ€™s a known workaround or if tweaking certain configurations might help.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia kanchamk

    Here is the patch.

  • ๐Ÿ‡จ๐Ÿ‡ฆCanada joelseguin Ontario, Canada

    Thanks @kanchamk! I can confirm that the patch works nicely. I Just tested on my dev site and the activities page now loads as expected.

    ** For reference, here is what I used for patching using Composer Patches (was originally trying to patch against opigno_lms):

    "drupal/opigno_learning_path": {
    "it is not possible to create an activity": " https://www.drupal.org/files/issues/2024-11-05/it-is-not-possible-to-cre... โ†’ "
    }

Production build 0.71.5 2024