cloud-native issueshttps://lab.civicrm.org/dev/cloud-native/-/issues2022-06-11T16:02:18Zhttps://lab.civicrm.org/dev/cloud-native/-/issues/14Extensions Mapper caches full path which breaks with dynamic containers2022-06-11T16:02:18ZherbdoolExtensions Mapper caches full path which breaks with dynamic containersCRM_Extension_Mapper caches the full path to extensions which with dynamic containers (such as with Pantheon) means that the cached path might not match the active container's path. This causes a fatal error.
The only solution seems to ...CRM_Extension_Mapper caches the full path to extensions which with dynamic containers (such as with Pantheon) means that the cached path might not match the active container's path. This causes a fatal error.
The only solution seems to be to force CRM_Extension_Mapper to fetch the extensions paths from the database, or prevent it from caching the full path. Currently with the CiviCRM Starterkit we are forcing it to fetch the list from the database each time (https://www.drupal.org/node/2347897).
Relates to https://lab.civicrm.org/dev/cloud-native/issues/6https://lab.civicrm.org/dev/cloud-native/-/issues/15Hardcoded filesystem paths in JS strings in cache2022-06-11T16:02:20ZherbdoolHardcoded filesystem paths in JS strings in cacheI've noticed hardcoded filesystem paths in civicrm_cache where group_name = js_strings. With dynamic containers on a host this could mean that the JS can't be found if it switches containers. Is there a way to make this relative?I've noticed hardcoded filesystem paths in civicrm_cache where group_name = js_strings. With dynamic containers on a host this could mean that the JS can't be found if it switches containers. Is there a way to make this relative?