Basically a duplicate of an old issue that is either still an issue in 4.x or has shown up again:
https://www.drupal.org/project/lazy/issues/3282633
Similarly, we have a large number of sites running in subfolders
/site-a/homepage
/site-b/homepage
/site-x/homepage
Ideally, we would not have to configure each site with it's own unique path as the installation is the same for all. Currently the library path on all sites removes the subfolder path and becomes:
/libraries/lazysizes
But should be:
/site-a/libraries/lazysizes
/site-b/libraries/lazysizes
/site-x/libraries/lazysizes
Not sure if the patch applied in the previous issue would still roll on 4.x so made the attached (very new to patching). Any reason something like this couldn't be merged into the main project?
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | interdiff_5_6.txt | 311 bytes | norman.lol |
| #6 | 3463866-6.patch | 892 bytes | norman.lol |
Issue fork lazy-3463866
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
norman.lolComment #3
norman.lolThere's a config in the module to override this path already. The current patch unfortunately doesn't work if an absolute URL has been entered. And it also won't work if the base path has been manually prefixed already.
I think we need to additionally check two things first:
In both cases the base path should not be added.
Comment #5
norman.lolComment #6
norman.lolComment #7
norman.lolThe failing pipeline is unrelated to this issue and has already been addressed in #3471876: LazyForm too few arguments.