Several authoring issues after a fresh Chamilo 2.0.3 install (learning path editor, quiz editing after Excel import, SCORM, course introduction) #8722
Unanswered
aubry45230
asked this question in
General
Replies: 1 comment 1 reply
|
Hi @aubry45230 |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
Fresh install of Chamilo 2.0.3 (Docker, PHP 8.3). After installation, several authoring tools misbehave. I'm grouping the issues here for context — happy to split them into separate reports if you prefer.
Environment
chamilo-2.0.3.tar.gz). Note: thechamilo_database_versionsetting still reports2.0.0(see issue 6).php:8.3-apacheimage),display_errorsat its default (On)Issue 1 — Learning path list is not refreshed after creating a learning path
Steps: Course → Learning paths → create a new learning path → go back to the learning path list.
Actual: The new learning path does not appear in the list, so it looks like the creation failed. This leads to creating it again (I ended up with several duplicate rows in
c_lp). The learning path is actually created correctly — only the list view is not refreshed. A hard refresh (Ctrl+F5) makes it appear.Expected: The newly created learning path should appear in the list immediately.
Issue 2 — PHP 8.3 warnings break redirects in the learning path editor
Observed errors:
Cause: With
display_errors=On, these PHP 8.3 warnings are printed to the page before theheader()redirect, which then fails ("headers already sent"), so the action appears to break. Settingdisplay_errors=Offis a workaround, but the underlying undefined-array-key / strict-typing warnings should be fixed (looks related to #8483).Expected: No PHP warnings; redirects should work regardless of
display_errors.Issue 3 — Quiz questions cannot be viewed/edited after Excel import
Steps: Import a quiz via Excel, then try to view/edit its questions.
Actual: PHP deprecation/warning output breaks the page (same
display_errorsmechanism as Issue 2), preventing normal viewing/editing of the imported questions.Expected: Imported questions can be viewed and edited normally.
Issue 4 — SCORM import error + "ghost" learning paths that cannot be deleted from the UI
Steps: Import a SCORM 1.2 package as a learning path.
Actual: Import fails with
Undefined constant "SYS_COURSE_PATH". Deleting the resulting (broken) SCORM learning path through the UI does not remove it — it keeps reappearing in the learning path list. Thec_lprows (lp_type=2) and theirresource_nodeentries remain in the database; only a manual SQL cleanup removes them.Expected: SCORM 1.2 should import without error, and UI deletion should fully remove the learning path (including its
resource_node).Issue 5 — Course "Introduction" cannot be removed from the UI
Steps: On the course homepage, edit the Introduction, clear all its content, and save.
Actual: The Introduction block persists. Clearing + saving does not remove it, and there is no delete control. It could only be removed via the database (
c_tool_intro+ itsresource_node).Expected: Clearing and saving (or a dedicated delete control) should remove the course introduction.
Issue 6 — Version-check false positive after 2.0.0 → 2.0.3
Actual: After installing 2.0.3, the
chamilo_database_versionsetting still reads2.0.0. As a result the platform shows a permanent "Chamilo 2.0.3 has been released, please update" security notice, even though 2.0.3 is already installed.Expected: The database version setting should reflect the installed version so the update notice does not fire incorrectly.
Additional context
Most of these seem tied to PHP 8.3 strict behaviour (warnings/deprecations breaking redirects) and to the resource_node lifecycle not being fully cleaned up on UI deletion. Thanks for your work on 2.x — happy to provide more detail or logs on any of these.
All reactions