Hi.
Thanks for this module.
We came across a bug. If the Drupal folder is not in the root of the project (e.g. if it is in 'web', which is very common when using Pantheon) the plugin fails to load.
The bug is in the 'getFile' method of the plugin - we just need to remove the reference to base_path.
Going to put a pull request together - I don't do this every day, so might take me a few minutes.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | plugin_fails_to_load-3031028-1.patch | 533 bytes | AndyThornton |
Comments
Comment #2
AndyThornton commentedComment #3
AndyThornton commentedComment #4
sumit kumar singh commented@AndyRhornton,
I was not able to replicate this issue can you please share some more info on the issue.
Comment #5
AndyThornton commentedHmm. So maybe it does not happen ONLY if you have your content inside a 'web' folder - I assumed that was the trigger for us.
We are actually using Lando (a docker system) for our local environments. I am not entirely sure how that changes these, only that Drupal is running within a container environment.
This is the error we get when we include base_path() in the getFile method
Comment #6
sumit kumar singh commentedi have applied the patch and it was working.
Comment #7
AndyThornton commentedThanks a lot
Comment #9
gaurav.kapoor commented