Leipziger-Ecken / drupal

Offizielle Drupal 8 Distribution der Leipziger Ecken
https://leipziger-ecken.de
MIT License
6 stars 1 forks source link

Use contrib OG module #32

Open der-On opened 3 years ago

der-On commented 3 years ago

@FlxAlbroscheit I've tried to remove the custom og module and install the contrib version. However as soon as I rebuild the cache drupal throws errors as it is searching for og module in the custom folder. I wasn't able to find the place where this reference is set. I'm not sure if it stored somewhere in the DB or on the filesystem/cache.

Will investigate on this a bit more.

der-On commented 3 years ago

Had to TRUNCATE cache_container; in the DB as that table contained a cached version of the dependency injection container.

Why is everything in the DB in drupal?!

FlxAlbroscheit commented 3 years ago

;)

Yes, it's a miracle. TRUNCATE cache_* has become my favourite, don't know why a regular "clear cache" command leaves out some tables or entities sometimes. Let's see if upgrading to the current version of OG works without troubles. Because previously I had used a custom version with this pull request applied. Could be possible that it contained some permissions or form-hooks/-functionalities that are now missing.

der-On commented 3 years ago

"clear cache" uses the cached container in the database and thus fails before it clears the caches. IMHO this is bad design as clear cache should not use cached data in the first place.