Closed (fixed)
Project:
Opigno Learning path
Version:
3.0.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Oct 2021 at 13:22 UTC
Updated:
1 Apr 2022 at 16:42 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
amateescu commentedHere's a patch for both Opigno 2 and 3 branches.
Comment #3
catchA few lines of logic could be saved by using hook_form_BASE_FORM_ID_alter().
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Form%21fo...
Could be done in a follow-up - really the whole of opigno_learning_path_form_alter() should be split out into individual hook implementations.
Comment #4
catchThis works well so moving to RTBC.
I've also opened a follow-up to simplify the form selection logic as above #3245367: Split up opigno_learning_path_form_alter().
Comment #5
axelmThanks !
It will be fixed in the next Opigno release
Comment #6
axelmReleased in Opigno 3.0.2
Comment #7
axelm