Closed (fixed)
Project:
WissKI
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
10 Aug 2023 at 11:47 UTC
Updated:
2 Feb 2024 at 10:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
rnsrk commentedI've made a patch, but we have to check it carefully, because it alters the database table definitions and add primary keys. I also removed the deprecated schema_uninstall and _install hooks, this may have site effects to older drupal versions, we have to check this for drupal 8, 9 and 10 WissKI Version to avoid crashing the database or mess up the tables! And I added ['allowed_classes' => FALSE] to the unserialize()-Method, because serialization without this option is marked as unsecure - but I'm not sure if this is the right option - so we may substitute with json_encode anyway.
Comment #8
rnsrk commentedForget the patch, we wrote update routines, which handles to remove duplicate rows and create primary keys with commit b9336181e6906d657cc2a32d0be716c1810c9479.
Comment #9
rnsrk commentedWe add primary keys to respective tables through the wisski_core/wisski_core.install patches 8010 to 8013.