Open karomabiles opened 2 years ago
@karomabiles think all the other components @DiegoPino put in place via https://github.com/esmero/ami/pull/123 cover what's needed. 😄
For the entry for specific Twig template + JSON errors, an entry along the lines of the current message being generated would be very helpful (icing on the Report 🍰):
$message = $this->t('Sorry, we can not cast ADO with @uuid into proper Metadata. Check the Metadata Display Template used, your permissions and/or your data ROW in your CSV for set @setid.',[ '@uuid' => $data->info['row']['uuid'], '@setid' => $data->info['set_id'] ]);
Thanks @karomabiles and @alliomeria. I can add the ROW and a bit more detail. I can sadly not add which Column made the JSON fail because the whole JSON will be "rejected" as JSON and thus I will be blind to what part is wrong. But I can give you the general JSON error (e.g Invalid Document, etc) too
And also the Link to the Twig template. That I can do!
Sounds great @DiegoPino! Thank you!
I think a piece is missing still? Will keep open. Re-tagging for 0.9.0
WHAT?
A system log/report type that provides information on Twig template ---JSON Failures/Errors and vice versa.
It's all in the details - report expectations (wants)
This issue relates to issues #37 and #92.
@alliomeria Can you think of anything else that would be helpful to add in report details?