Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
#1020842: Error messages when importing translated strings fails are not helpful at all showed that there is no nice way to link to the log report from an on-screen error message. I can't think of a good way to do this either, but opening this for discussion.
Comment | File | Size | Author |
---|---|---|---|
#6 | 1325736-6-consistent-dblog-link.patch | 1.9 KB | dagmar |
Comments
Comment #1
yoroy CreditAttribution: yoroy commentedNice small example of needing to find ways to 'connect the dots'.
Comment #2
dawehnerEspecially because error messages are potentially stored in an inaccessible format within Drupal, this sounds kind of impossible.
Comment #3
dawehnerLet's move it to dblog, the only place which can actually handle that.
Comment #5
dagmarSo this came from https://www.drupal.org/node/1020842#comment-5177294 but is not clear to me what is the type of desired solution. I know this says
I can't think of a good way to do this either, but opening this for discussion.
but no discussion has been made here.Maybe some screenshots to understand better what is the issue here?
Comment #6
dagmarWhat about this solution?
Comment #7
klausiThis does not return a string, it returns a Url object, right?
And we should have some sort of test case for this to ensure the method works correctly.
Comment #8
dagmarThanks for your feedback. I'm working on the tests. In the meantime I have a few questions.
toString
so this function returns string not and URL object, right?severity
for as a parameter?Comment #11
dawehnerI really love the functionality this offers! There should be some kind of interface maybe, to allow other logger implementations to do something similar.
Comment #12
dagmarWe are working on that interface here #2458191: Provide a storage backend for dblog module :)
Comment #13
dagmarPostponing this until we have a
DblogStorage::loadMultiple
method in place (#2458191: Provide a storage backend for dblog module). Then we can use it to load the first messages that match with the given specifications.