- Issue created by @Anybody
- Assigned to LRWebks
- 🇩🇪Germany LRWebks Porta Westfalica
Yes, within the Watchdog entries there is location information, however Watchdog Mailer (and probably any other module requesting info about Watchdog entries) only recieves a stripped down version of all the information as
$context
. This version unfortunately does not contain any location information, only the referrer.
Below is a screenshot that I have used before to create all the current Tokens in the first place, some values that appear there aren't even accessible since they are protected. I wonder if there is any other way of getting all the info, then we would just need to replace the values inserted into the token. - 🇩🇪Germany Anybody Porta Westfalica
@LRWebks: Here we go (demystify) ;)
https://api.drupal.org/api/drupal/core%21modules%21dblog%21src%21Logger%... - Merge request !27Add [watchdog_mailer:request_uri] to default mail body → (Merged) created by Anybody
- Status changed to Needs work
about 2 months ago 9:39am 17 July 2024 - 🇩🇪Germany Anybody Porta Westfalica
Okay all other tokens beside
[watchdog_mailer:request_uri]
exist!So
- [watchdog_mailer:request_uri] needs to be added
- [watchdog_mailer:request_uri] needs to be tested
- [watchdog_mailer:request_uri] needs to be added to the message body (solved)
- and the token descriptions should be improved to inform about the aliases in watchdog
- 🇩🇪Germany LRWebks Porta Westfalica
I've created the new
request_uri
Token, and I also made some minor fixes to the other Tokens that don't affect any other currently open issues:- Updating all token descriptions
- Updating the route of the
watchdog_mailer_url
token to reflect the new settings page location - Changing all instances of the
referrer
Token toreferer
as that was a misspelling
- Status changed to Needs review
about 2 months ago 10:04am 17 July 2024 - 🇩🇪Germany Anybody Porta Westfalica
Simply perfect!! :) Well done!
- Issue was unassigned.
- Status changed to Fixed
about 2 months ago 10:55am 17 July 2024 -
Anybody →
committed b62765ab on 3.x
Issue #3461975 by Anybody, LRWebks: Missing "request_uri" Token and...
-
Anybody →
committed b62765ab on 3.x
Automatically closed - issue fixed for 2 weeks with no activity.