Problem/Motivation
#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.
Steps to reproduce
?
Proposed resolution
?
Remaining tasks
Test coverage.
User interface changes
N/A
Introduced terminology
N/A
API changes
N/A
Data model changes
N/A
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 1325736-6-consistent-dblog-link.patch | 1.9 KB | dagmar |
Comments
Comment #1
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.
toStringso this function returns string not and URL object, right?severityfor 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::loadMultiplemethod 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.Comment #26
smustgrave commentedBelieve blocker has since landed.
Comment #27
oily commentedComment #28
oily commented