-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Reporting] 'preserve layout' PDF reports are not working #157344
Comments
Pinging @elastic/appex-sharedux (Team:SharedUX) |
Possibly fixed by elastic/elasticsearch#96031 |
Tests are passing now in Kibana |
Hi @tsullivan, do you know how I can verify it is going to be part of the next BC before I trigger the job? Currently, the next BC scheduled for tomorrow morning CST time |
Another thing, in case elastic/elasticsearch#96031 is a possible fix. |
Thanks @kfirpeled for the bump! BC4 just came out and you caught me right as I was testing this in BC4. I confirm PDF reports are working now 🎉. Closing this issue. |
Question: why is this bug not caught in CI? Answer A 5mb string is 5242880 characters. Each character is used to represent 6 bits. A 5mb string of base64 can encode a 3.932mb PDF. Most of the reporting tests do not create a PDF that large. However in the latest Shortly after, the root cause issue did cause many CI failures in a few reporting tests in other branches:
|
Version: 8.8.0 BC3
Method used to run Kibana: source / docker
Steps to reproduce:
Result:
Report fails with an error message:
Failed with: x_content_parse_exception Caused by: stream_constraints_exception: String length (5009248) exceeds the maximum length (5000000) Root causes: x_content_parse_exception: [1:29] [UpdateRequest] failed to parse field [doc]"
Full error:
Analysis:
The error comes from attempting to send the report contents into reporting plugin's content stream. The following code patch catches and logs the error:
Question: why is this bug not caught in CI?
The text was updated successfully, but these errors were encountered: