Here is the patch.
I was able to resolve this issue by doing the following:
- Go to
/admin/group/types/manage/learning_path/fields
, herelearning_path
is my group type. - "Edit" every field and click on "Save" to update the field.
- Run
drush updb
again. This error issue was resolved and nowgroup
fields are revisionable
@joseph, thank you for your help.
I was able to resolve this issue by doing the following:
- Go to
/admin/group/types/manage/learning_path/fields
- "Edit" every field and click on "Save" to update the field
- Run
drush updb
again and this error resolved.
@joseph, I can't update group
module as opigno_lms
has fixed its group dependency version to 1.6. This is failing in post_update function group_post_update_make_group_revisionable
in group.post_update.php
I don't have any modules starts with lightning
installed. FYI, I am using <a href="https://www.drupal.org/project/opigno_lms">opigno_lms 3.2.7</a>
. Recently migrated opigno_lms
from 3.1.0
to 3.2.7
I am also facing the same issue. I updated Drupal 9.5.11
to 10.3.6
These fields(field_certificate_expire
and field_certificate_expire_results
) were added long before opigno version 3.1.0
probably even before opigno 8x-2.21
. Unfortunatly these fields were removed manually for customization of the expiration of training handled via our custom tables.
@joseph, These tables groups_revision
and groups_field_revision
did not exist in the database in the first place even after upgrading the group
module from 1.2
to 1.6
. Attached screenshot for reference.
kanchamk → created an issue.
I updated the group
module from 1.2
to 1.6
and got the below error. Any idea?
> [notice] Update started: group_post_update_make_group_revisionable
> [error] Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'database.tmp_2d4eecgroup_r__e3b0c44298' doesn't exist: INSERT INTO "tmp_2d4eecgroup_r__e3b0c44298" ("entity_id", "revision_id", "bundle", "delta", "langcode", "field_learning_path_duration_target_id") VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5); Array
> (
> [:db_insert_placeholder_0] => 67
> [:db_insert_placeholder_1] => 67
> [:db_insert_placeholder_2] => learning_path
> [:db_insert_placeholder_3] => 0
> [:db_insert_placeholder_4] => de
> [:db_insert_placeholder_5] => 630
> )
> in Drupal\Core\Entity\Sql\SqlContentEntityStorage->saveToDedicatedTables() (line 1403 of C:\xampp\htdocs\opigno-composer\web\core\lib\Drupal\Core\Entity\Sql\SqlContentEntityStorage.php).
> [error] The entity update process failed while processing the entity type group, ID: 67.
> [error] Update failed: group_post_update_make_group_revisionable
Hi @zartab
Updated the database using drush updb
and I checked all the dependencies that were already installed and enabled and cleared the caches, but still no luck.
In which opigno version this (field_certificate_expire_results) field added?
Patch included.
kanchamk → created an issue.
kanchamk → created an issue.
kanchamk → created an issue.
@axelm, composer audit
logs shows that Drupal <11.0.4 is a security risk, is there a planning for D11 as well?
@axelm, September is almost completed, on the project page, you mentioned that the release on drupal.org of Opigno 3.2 will be done by the end of September. When can we expect it on drupal.org?
I also need the same ability to view the content of the module or course, including videos, MCQs, and data, that the user accessed before completing the training. Currently, users have a 'See activity results' CTA on the training statistics page, but it doesn't effectively allow them to review the content again.
kanchamk → created an issue.
kanchamk → created an issue.
kanchamk → created an issue.
Attached related issue.
Here is the patch.
kanchamk → created an issue.
Here is the patch.
kanchamk → created an issue.
Here is the new patch for proposed solution.
kanchamk → created an issue.
kanchamk → created an issue.
kanchamk → created an issue.
kanchamk → created an issue.
I have migrated directly from opigno_lms
version 2.11
to 3.1.1
. Now after reading these instructions (here) thoroughly, First I migrated opigno_lms
2.11
to
2.29
and then to
3.1.1
. now no errors .
Thank you
Hi axelm,
No, I followed these instructions
https://opigno.atlassian.net/wiki/spaces/OUM3/pages/2802942424/Upgrade+from+Opigno+LMS+2.x+to+Opigno+LMS+3.x
kanchamk → created an issue.
Here is the patch updating the code in all hook updates where it was failed.
New patch added for hook updates 9003 and 9004.
Patch added.
kanchamk → created an issue.
Patch added.
kanchamk → created an issue.
Here is the updated patch.
kanchamk → created an issue.
Almost all these config files coming from opigno_statistics
module only but they mentioned like opigno_module
in getPath
method like \Drupal::service('extension.list.module')->getPath('opigno_statistics') . '/config/optional/';
. so here is the new patch i updating it