Problem/Motivation
With the internal link, such as below, we receive a fatal error.
Client error: `GET https://drupal-org.ddev.site/admin/structure/block` resulted in a `403 Forbidden`
Steps to reproduce
Use an internal link for the service. Look at my example.
Proposed resolution
Adding an error handler.
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot from 2025-12-02 10-20-22.png | 184.37 KB | just-me |
Issue fork opengraph_filter-3560986
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
just-me commentedComment #4
just-me commentedHi,
I've added an error handler. Now users will see a warning instead of a fatal error.
Comment #5
loon commentedComment #6
just-me commentedHi,
as was discussed:
- You can use internal links and not see the warning.
- The result of the response, this case bad response, was cached as well as a successful one.
- An error will be shown in the reports menu.
- Added a null check to the line, which was the cause of an error.
Comment #7
just-me commentedComment #8
just-me commentedHi,
The link below will take you to an issue that relates to the "Failed preview" task.
https://www.drupal.org/project/opengraph_filter/issues/3561625
Comment #10
loon commented